java.lang.Object | |||
↳ | org.apache.xml.serialize.BaseMarkupSerializer | ||
↳ | org.apache.xml.serialize.HTMLSerializer | ||
↳ | org.apache.xml.serialize.XHTMLSerializer |
This class is 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.
Implements an XHTML serializer supporting both DOM and SAX
pretty serializing. For usage instructions see either Serializer
or BaseMarkupSerializer
.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new serializer.
| |||||||||||
Constructs a new serializer.
| |||||||||||
Constructs a new serializer that writes to the specified writer
using the specified output format.
| |||||||||||
Constructs a new serializer that writes to the specified output
stream using the specified output format.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Specifies an output format for this serializer.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Constructs a new serializer. The serializer cannot be used without
calling setOutputCharStream(Writer)
or setOutputByteStream(OutputStream)
first.
Constructs a new serializer. The serializer cannot be used without
calling setOutputCharStream(Writer)
or setOutputByteStream(OutputStream)
first.
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.
writer | The writer to use |
---|---|
format | The output format to use, null for the default |
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.
output | The output stream to use |
---|---|
format | The output format to use, null for the default |
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.
format | The output format to use |
---|