|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.pdfbox.util.XMLUtil
public class XMLUtil
This class with handle some simple XML operations.
| Method Summary | |
|---|---|
static String |
getNodeValue(Element node)
This will get the text value of an element. |
static Document |
parse(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 Document parse(InputStream is)
throws IOException
is - The stream to get the XML from.
IOException - It there is an error creating the dom.public static String getNodeValue(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 | |||||||||