DOMSerializer
, Serializer
, org.xml.sax.ContentHandler
, org.xml.sax.DocumentHandler
, org.xml.sax.DTDHandler
, org.xml.sax.ext.DeclHandler
, org.xml.sax.ext.LexicalHandler
public class XHTMLSerializer extends HTMLSerializer
Serializer
or BaseMarkupSerializer
.Serializer
_docTypePublicId, _docTypeSystemId, _encodingInfo, _format, _indenting, _prefixes, _printer, _started, fCurrentNode, fDOMError, fDOMErrorHandler, fDOMFilter, features, fStrBuffer
XHTMLNamespace
Constructor | Description |
---|---|
XHTMLSerializer() |
Deprecated.
Constructs a new serializer.
|
XHTMLSerializer(java.io.OutputStream output,
OutputFormat format) |
Deprecated.
Constructs a new serializer that writes to the specified output
stream using the specified output format.
|
XHTMLSerializer(java.io.Writer writer,
OutputFormat format) |
Deprecated.
Constructs a new serializer that writes to the specified writer
using the specified output format.
|
XHTMLSerializer(OutputFormat format) |
Deprecated.
Constructs a new serializer.
|
Modifier and Type | Method | Description |
---|---|---|
void |
setOutputFormat(OutputFormat format) |
Deprecated.
Specifies an output format for this serializer.
|
asContentHandler, asDocumentHandler, asDOMSerializer, attributeDecl, checkUnboundNamespacePrefixedNode, cleanup, comment, comment, content, elementDecl, endCDATA, endDocument, endDTD, endEntity, endNonEscaping, endPrefixMapping, endPreserving, enterElementState, externalEntityDecl, fatalError, getElementState, getPrefix, ignorableWhitespace, internalEntityDecl, isDocumentState, leaveElementState, modifyDOMError, notationDecl, prepare, printCDATAText, printDoctypeURL, printEscaped, printEscaped, printText, printText, processingInstruction, processingInstructionIO, reset, serialize, serialize, serialize, serializeNode, serializePreRoot, setDocumentLocator, setOutputByteStream, setOutputCharStream, skippedEntity, startCDATA, startDocument, startDTD, startEntity, startNonEscaping, startPrefixMapping, startPreserving, surrogates, unparsedEntityDecl
characters, characters, endElement, endElement, endElementIO, escapeURI, getEntityRef, serializeElement, setXHTMLNamespace, startDocument, startElement, startElement
public XHTMLSerializer()
BaseMarkupSerializer.setOutputCharStream(java.io.Writer)
or BaseMarkupSerializer.setOutputByteStream(java.io.OutputStream)
first.public XHTMLSerializer(OutputFormat format)
BaseMarkupSerializer.setOutputCharStream(java.io.Writer)
or BaseMarkupSerializer.setOutputByteStream(java.io.OutputStream)
first.public XHTMLSerializer(java.io.Writer writer, OutputFormat format)
writer
- The writer to useformat
- The output format to use, null for the defaultpublic XHTMLSerializer(java.io.OutputStream output, OutputFormat format)
output
- The output stream to useformat
- The output format to use, null for the defaultpublic void setOutputFormat(OutputFormat format)
Serializer
setOutputFormat
in interface Serializer
setOutputFormat
in class HTMLSerializer
format
- The output format to useCopyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.