|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.xml.serialize.BaseMarkupSerializer
org.apache.xml.serialize.HTMLSerializer
org.apache.xml.serialize.XHTMLSerializer
public class XHTMLSerializer
Implements an XHTML serializer supporting both DOM and SAX
pretty serializing. For usage instructions see either Serializer or BaseMarkupSerializer.
Serializer| Field Summary |
|---|
| Fields inherited from class org.apache.xml.serialize.HTMLSerializer |
|---|
XHTMLNamespace |
| Fields inherited from class org.apache.xml.serialize.BaseMarkupSerializer |
|---|
_docTypePublicId, _docTypeSystemId, _encodingInfo, _format, _indenting, _prefixes, _printer, _started, fCurrentNode, fDOMError, fDOMErrorHandler, fDOMFilter, features, fStrBuffer |
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
void |
setOutputFormat(OutputFormat format)
Deprecated. Specifies an output format for this serializer. |
| Methods inherited from class org.apache.xml.serialize.HTMLSerializer |
|---|
characters, characters, endElement, endElement, endElementIO, escapeURI, getEntityRef, serializeElement, setXHTMLNamespace, startDocument, startElement, startElement |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
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(java.io.Writer writer,
OutputFormat format)
writer - The writer to useformat - The output format to use, null for the default
public XHTMLSerializer(java.io.OutputStream output,
OutputFormat format)
output - The output stream to useformat - The output format to use, null for the default| Method Detail |
|---|
public void setOutputFormat(OutputFormat format)
Serializer
setOutputFormat in interface SerializersetOutputFormat in class HTMLSerializerformat - The output format to use
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||