|
||||||||||
| 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 | |
protected void |
endNode(org.w3c.dom.Node node)
|
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)
|
protected void |
startNode(org.w3c.dom.Node node)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, 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
protected void startNode(org.w3c.dom.Node node)
throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected void endNode(org.w3c.dom.Node node)
throws org.xml.sax.SAXException
org.xml.sax.SAXException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||