org.apache.xml.serialize
Class XHTMLSerializer
- org.xml.sax.ContentHandler, org.xml.sax.ext.DeclHandler, org.xml.sax.DocumentHandler, DOMSerializer, org.xml.sax.DTDHandler, org.xml.sax.ext.LexicalHandler, Serializer
public class XHTMLSerializer
Version:
- Assaf Arkin
Serializer
_docTypePublicId , _docTypeSystemId , _encodingInfo , _format , _indenting , _prefixes , _printer , _started , fCurrentNode , fDOMError , fDOMErrorHandler , fDOMFilter , fStrBuffer , features |
characters , characters , endElement , endElement , endElementIO , escapeURI , getEntityRef , serializeElement , setOutputFormat , setXHTMLNamespace , startDocument , startElement , startElement |
asContentHandler , asDOMSerializer , asDocumentHandler , attributeDecl , characters , characters , checkUnboundNamespacePrefixedNode , comment , comment , content , elementDecl , endCDATA , endDTD , endDocument , endEntity , endNonEscaping , endPrefixMapping , endPreserving , enterElementState , externalEntityDecl , fatalError , getElementState , getEntityRef , getPrefix , ignorableWhitespace , internalEntityDecl , isDocumentState , leaveElementState , modifyDOMError , notationDecl , prepare , printCDATAText , printDoctypeURL , printEscaped , printEscaped , printText , printText , processingInstruction , processingInstructionIO , reset , serialize , serialize , serialize , serializeElement , serializeNode , serializePreRoot , setDocumentLocator , setOutputByteStream , setOutputCharStream , setOutputFormat , skippedEntity , startCDATA , startDTD , startDocument , startEntity , startNonEscaping , startPrefixMapping , startPreserving , surrogates , unparsedEntityDecl |
XHTMLSerializer
public XHTMLSerializer()
Constructs a new serializer. The serializer cannot be used without
calling XHTMLSerializer
or XHTMLSerializer
first.
XHTMLSerializer
public XHTMLSerializer(OutputStream output,
OutputFormat format)
Constructs a new serializer that writes to the specified output
stream using the specified output format. If format
is null, will use a default output format.
output
- The output stream to useformat
- The output format to use, null for the default
XHTMLSerializer
public XHTMLSerializer(Writer writer,
OutputFormat format)
Constructs a new serializer that writes to the specified writer
using the specified output format. If format is null,
will use a default output format.
writer
- The writer to useformat
- The output format to use, null for the default
XHTMLSerializer
public XHTMLSerializer(OutputFormat format)
Constructs a new serializer. The serializer cannot be used without
calling XHTMLSerializer
or XHTMLSerializer
first.
Copyright B) 1999-2004 Apache XML Project. All Rights Reserved.