org.pdfbox.util
Class XMLUtil
public class XMLUtil
extends java.lang.Object
This class with handle some simple XML operations.
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.
|
getNodeValue
public static String getNodeValue(Element node)
This will get the text value of an element.
node - The node to get the text value for.
parse
public static Document parse(InputStream is)
throws IOException This will parse an XML stream and create a DOM document.
is - The stream to get the XML from.