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