|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.linkwerk.util.DOM
public abstract class DOM
DOM Helper class with static methods for creation of DOM Documents.
Constructor Summary | |
---|---|
DOM()
|
Method Summary | |
---|---|
static org.w3c.dom.Document |
createDocument()
Obtain a new instance of a DOM Document object to build a DOM tree with. |
static org.w3c.dom.Document |
parse(java.io.InputStream input)
Parse the content of the given input source as an XML document and return a new DOM Document object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DOM()
Method Detail |
---|
public static org.w3c.dom.Document createDocument()
public static org.w3c.dom.Document parse(java.io.InputStream input) throws org.xml.sax.SAXException, java.io.IOException
input
- InputStream containing the content to be parsed.
org.xml.sax.SAXException
- If any parse errors occur.
java.io.IOException
- If any IO errors occur.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |