|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xml.serializer.dom3.DOM3SerializerImpl
This class implements the DOM3Serializer interface.
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. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public DOM3SerializerImpl(SerializationHandler handler)
handler
- An instance of the SerializationHandler interface.Method Detail |
public DOMErrorHandler getErrorHandler()
public LSSerializerFilter getNodeFilter()
public char[] getNewLine()
public void serializeDOM3(Node node) throws java.io.IOException
node
- the Level 3 DOM node to serializepublic void setErrorHandler(DOMErrorHandler handler)
handler
- the Level 3 DOMErrorHandlerpublic void setNodeFilter(LSSerializerFilter filter)
filter
- the Level 3 LSSerializerFilterpublic void setSerializationHandler(SerializationHandler handler)
handler
- An instance of SerializationHandlerpublic void setNewLine(char[] newLine)
newLine
- The end-of-line sequence of characters to be used during serialization.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |