|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.ispsoft.jaxme.DOMSerializer
Serializes a DOM document by firing off a stream of SAX events.
Constructor Summary | |
DOMSerializer()
|
Method Summary | |
static java.lang.String |
asString(org.w3c.dom.Node pNode)
Serializes a DOM document or element into a string by instantiating a DOMSerializer and calling its serialize method. |
static void |
serialize(org.xml.sax.ContentHandler pHandler,
org.w3c.dom.Node pNode)
Serializes the given node. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DOMSerializer()
Method Detail |
public static java.lang.String asString(org.w3c.dom.Node pNode) throws org.xml.sax.SAXException, java.io.IOException
Serializes a DOM document or element into a string by instantiating a DOMSerializer and calling its serialize method.
pNode
- The node being serialized, either a document node
or an element node
org.xml.sax.SAXException
java.io.IOException
public static void serialize(org.xml.sax.ContentHandler pHandler, org.w3c.dom.Node pNode) throws org.xml.sax.SAXException
Serializes the given node.
pNode
- The node being serialized, either a document node
or an element node
org.xml.sax.SAXException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |