|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exist.util.serializer.DOMStreamer
General purpose class to stream a DOM node to SAX.
Constructor Summary | |
DOMStreamer()
|
|
DOMStreamer(org.xml.sax.ContentHandler contentHandler,
org.xml.sax.ext.LexicalHandler lexicalHandler)
|
Method Summary | |
void |
reset()
Reset internal state for reuse. |
void |
serialize(org.w3c.dom.Node node)
Serialize the given node and all its descendants to SAX. |
void |
serialize(org.w3c.dom.Node node,
boolean callDocumentEvents)
Serialize the given node and all its descendants to SAX. |
void |
setContentHandler(org.xml.sax.ContentHandler handler)
|
void |
setLexicalHandler(org.xml.sax.ext.LexicalHandler handler)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DOMStreamer()
public DOMStreamer(org.xml.sax.ContentHandler contentHandler, org.xml.sax.ext.LexicalHandler lexicalHandler)
Method Detail |
public void setContentHandler(org.xml.sax.ContentHandler handler)
public void setLexicalHandler(org.xml.sax.ext.LexicalHandler handler)
public void reset()
public void serialize(org.w3c.dom.Node node) throws org.xml.sax.SAXException
node
-
org.xml.sax.SAXException
public void serialize(org.w3c.dom.Node node, boolean callDocumentEvents) throws org.xml.sax.SAXException
node
- callDocumentEvents
-
org.xml.sax.SAXException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |