Methods Summary |
---|
public void | close()
|
public void | flushPending()Flush any pending events currently queued up in the serializer. This will
flush any input that the serializer has which it has not yet sent as
output.
|
public javax.xml.transform.Transformer | getTransformer()Get the transformer associated with the serializer.
|
public void | serialize(org.w3c.dom.Node node)Notify that the serializer should take this DOM node as input to be
serialized.
|
public void | setContentHandler(org.xml.sax.ContentHandler ch)Set the SAX Content handler that the serializer sends its output to. This
method only applies to a ToSAXHandler, not to a ToStream serializer.
|
public void | setDTDEntityExpansion(boolean expand)Default behavior is to expand DTD entities,
that is the initall default value is true.
|
public boolean | setEscaping(boolean escape)Turns special character escaping on/off.
Note that characters will
never, even if this option is set to 'true', be escaped within
CDATA sections in output XML documents.
|
public void | setIndentAmount(int spaces)Set the number of spaces to indent for each indentation level.
|
public void | setNamespaceMappings(com.sun.org.apache.xml.internal.serializer.NamespaceMappings mappings)Used only by TransformerSnapshotImpl to restore the serialization
to a previous state.
|
public void | setTransformer(javax.xml.transform.Transformer transformer)Set the transformer associated with the serializer.
|