|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pdfbox.util.XMLUtil
public class XMLUtil
This class with handle some simple XML operations.
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |