Package org.apache.pdfbox.pdmodel.fdf
Class XMLUtil
java.lang.Object
org.apache.pdfbox.pdmodel.fdf.XMLUtil
Deprecated.
This class with handle some simple XML operations.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
XMLUtil()
Deprecated.Utility class, should not be instantiated. -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getNodeValue
(Element node) Deprecated.This will get the text value of an element.static Document
parse
(InputStream is) Deprecated.This will parse an XML stream and create a DOM document.
-
Constructor Details
-
XMLUtil
private XMLUtil()Deprecated.Utility class, should not be instantiated.
-
-
Method Details
-
parse
Deprecated.This will parse an XML stream and create a DOM document.- Parameters:
is
- The stream to get the XML from.- Returns:
- The DOM document.
- Throws:
IOException
- It there is an error creating the dom.
-
getNodeValue
Deprecated.This will get the text value of an element.- Parameters:
node
- The node to get the text value for.- Returns:
- The text of the node.
-
XMLUtil
instead