org.freehep.xml.util
Class XHTMLWriter
java.lang.Object
org.freehep.xml.util.XMLWriter
org.freehep.xml.util.XHTMLWriter
- Direct Known Subclasses:
- HTMLYappiWriter
- public class XHTMLWriter
- extends XMLWriter
A class that makes it easy to write XHTML documents.
- Version:
- $Id: XHTMLWriter.java,v 1.5 2002/09/18 23:59:59 duns Exp $
- Author:
- Mark Donszelmann
- Source Code:
- XHTMLWriter.java
Methods inherited from class org.freehep.xml.util.XMLWriter |
checkNameValid, close, closeTag, normalize, normalizeText, openDoc, openDoc, openTag, openTag, print, print, printAttributes, printComment, println, printTag, referToDTD, referToDTD, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XHTMLWriter
public XHTMLWriter(Writer w,
String indentString,
String type)
- Parameters:
type
- [strict, transitional, frameset]
XHTMLWriter
public XHTMLWriter(Writer w)
closeDoc
public void closeDoc()
- Description copied from class:
XMLWriter
- Closes the document, and checks if you closed all the tags
- Overrides:
closeDoc
in class XMLWriter
printTag
public void printTag(String name)
- Description copied from class:
XMLWriter
- Prints an empty XML tag.
- Overrides:
printTag
in class XMLWriter
setAttribute
public void setAttribute(String name,
boolean value)
- Overrides:
setAttribute
in class XMLWriter
printPlain
public void printPlain(String text)
- Prints text as is (no escaping of anything)
Copyright © 2000-2004 FreeHEP, All Rights Reserved.