public class XMLUtil
extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
static java.lang.String |
getNodeValue(org.w3c.dom.Element node) |
This will get the text value of an element.
|
static org.w3c.dom.Document |
parse(java.io.InputStream is) |
This will parse an XML stream and create a DOM document.
|
public static org.w3c.dom.Document parse(java.io.InputStream is) throws java.io.IOException
is
- The stream to get the XML from.java.io.IOException
- It there is an error creating the dom.public static java.lang.String getNodeValue(org.w3c.dom.Element node)
node
- The node to get the text value for.