public class XHTMLSerializer extends HTMLSerializer
Serializer or BaseMarkupSerializer.SerializerXHTMLNamespace_docTypePublicId, _docTypeSystemId, _encodingInfo, _format, _indenting, _prefixes, _printer, _started, fCurrentNode, fDOMError, fDOMErrorHandler, fDOMFilter, features, fStrBuffer| Constructor and Description |
|---|
XHTMLSerializer()
Deprecated.
Constructs a new serializer.
|
XHTMLSerializer(OutputFormat format)
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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setOutputFormat(OutputFormat format)
Deprecated.
Specifies an output format for this serializer.
|
characters, characters, endElement, endElement, endElementIO, escapeURI, getEntityRef, serializeElement, setXHTMLNamespace, startDocument, startElement, startElementasContentHandler, 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, unparsedEntityDeclpublic 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)
SerializersetOutputFormat in interface SerializersetOutputFormat in class HTMLSerializerformat - The output format to useCopyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.