Deprecated
This class was deprecated in Xerces 2.6.2. It is recommended that new applications use JAXP's Transformation API for XML (TrAX) for serializing XHTML. See the Xerces documentation for more information.
Serializer or BaseMarkupSerializer.
Serializer
| Access | Constructor and Description |
|---|---|
| public | |
| public | XHTMLSerializer(OutputFormat format)
Deprecated
as a consequence of
Constructs a new serializer.
OutputFormat being deprecated.
|
| public | XHTMLSerializer(Writer
The writer to use writer, OutputFormat The output format to use, null for the default format)
Deprecated
as a consequence of
Constructs a new serializer that writes to the specified writer
using the specified output format.
OutputFormat being deprecated.
|
| public | XHTMLSerializer(OutputStream
The output stream to use output, OutputFormat The output format to use, null for the default format)
Deprecated
as a consequence of
Constructs a new serializer that writes to the specified output
stream using the specified output format.
OutputFormat being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| public void | setOutputFormat(OutputFormat
The output format to use format)Overrides org. Implements org.
Deprecated
as a consequence of
Specifies an output format for this serializer.
OutputFormat being deprecated.
|
| XHTMLSerializer | back to summary |
|---|---|
| public XHTMLSerializer() Constructs a new serializer. The serializer cannot be used without
calling | |
| XHTMLSerializer | back to summary |
|---|---|
| public XHTMLSerializer(OutputFormat format)
Deprecated as a consequence of Constructs a new serializer. The serializer cannot be used without
calling | |
| XHTMLSerializer | back to summary |
|---|---|
| public XHTMLSerializer(Writer writer, OutputFormat format)
Deprecated as a consequence of 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.
| |
| XHTMLSerializer | back to summary |
|---|---|
| public XHTMLSerializer(OutputStream output, OutputFormat format)
Deprecated as a consequence of 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.
| |
| setOutputFormat | back to summary |
|---|---|
| public void setOutputFormat(OutputFormat format) Overrides org. Implements org. Doc from org. Deprecated as a consequence of Specifies an output format for this serializer. It the serializer has already been associated with an output format, it will switch to the new format. This method should not be called while the serializer is in the process of serializing a document.
| |