public class XHTMLSerializer extends HTMLSerializer
Serializer
or BaseMarkupSerializer
.Serializer
XHTMLNamespace
_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(OutputStream output,
OutputFormat format)
Deprecated.
Constructs a new serializer that writes to the specified output
stream using the specified output format.
|
XHTMLSerializer(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, startElement
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
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(Writer writer, OutputFormat format)
writer
- The writer to useformat
- The output format to use, null for the defaultpublic XHTMLSerializer(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 © 2019 JBoss by Red Hat. All rights reserved.