org.apache.xml.serializer.dom3
public final class DOM3SerializerImpl extends Object implements DOM3Serializer
UNKNOWN: internal
Constructor Summary | |
---|---|
DOM3SerializerImpl(SerializationHandler handler)
Constructor
|
Method Summary | |
---|---|
DOMErrorHandler | getErrorHandler()
Returns a DOMErrorHandler set on the DOM Level 3 Serializer.
|
char[] | getNewLine()
Gets the end-of-line sequence of characters to be used during serialization. |
LSSerializerFilter | getNodeFilter()
Returns a LSSerializerFilter set on the DOM Level 3 Serializer to filter nodes
during serialization.
|
void | serializeDOM3(Node node)
Serializes the Level 3 DOM node by creating an instance of DOM3TreeWalker
which traverses the DOM tree and invokes handler events to serialize
the DOM NOde. |
void | setErrorHandler(DOMErrorHandler handler)
Sets a DOMErrorHandler on the DOM Level 3 Serializer.
|
void | setNewLine(char[] newLine)
Sets the end-of-line sequence of characters to be used during serialization. |
void | setNodeFilter(LSSerializerFilter filter)
Sets a LSSerializerFilter on the DOM Level 3 Serializer to filter nodes
during serialization.
|
void | setSerializationHandler(SerializationHandler handler)
Sets a SerializationHandler on the DOM Serializer.
|
Parameters: handler An instance of the SerializationHandler interface.
Returns: A Level 3 DOMErrorHandler
Returns: The Level 3 LSSerializerFilter
Parameters: node the Level 3 DOM node to serialize
Throws: IOException if an I/O exception occured while serializing
Parameters: handler the Level 3 DOMErrorHandler
Parameters: newLine The end-of-line sequence of characters to be used during serialization.
Parameters: filter the Level 3 LSSerializerFilter
Parameters: handler An instance of SerializationHandler