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)
References Deprecated
OutputFormat is deprecated or references (maybe indirectly) at least one deprecated element.
Constructs a new serializer. |
| public | XHTMLSerializer(Writer
The writer to use writer, OutputFormat The output format to use, null for the default format)
References Deprecated
OutputFormat is deprecated or references (maybe indirectly) at least one deprecated element.
Constructs a new serializer that writes to the specified writer using the specified output format. |
| public | XHTMLSerializer(OutputStream
The output stream to use output, OutputFormat The output format to use, null for the default format)
References Deprecated
OutputFormat is deprecated or references (maybe indirectly) at least one deprecated element.
Constructs a new serializer that writes to the specified output stream using the specified output format. |
| Modifier and Type | Method and Description |
|---|---|
| public void | setOutputFormat(OutputFormat format)
Overrides com. Implements com.
References Deprecated
OutputFormat is deprecated or references (maybe indirectly) at least one deprecated element.
Specifies an output format for this serializer. |
| 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)
References Deprecated
See corresponding docs for further information. Constructs a new serializer. The serializer cannot be used without
calling | |
| XHTMLSerializer | back to summary |
|---|---|
| public XHTMLSerializer(Writer writer, OutputFormat format)
References Deprecated
See corresponding docs for further information. 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)
References Deprecated
See corresponding docs for further information. 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 com. Implements com. Doc from com. References Deprecated
See corresponding docs for further information. 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. | |