Package org.rrd4j.core
Class Util.Xml
java.lang.Object
org.rrd4j.core.Util.Xml
- Enclosing class:
Util
Various DOM utility functions.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Node[]getChildNodes(Node parentNode) static Node[]getChildNodes(Node parentNode, String childName) static StringgetChildValue(Node parentNode, String childName) static StringgetChildValue(Node parentNode, String childName, boolean trim) static booleangetChildValueAsBoolean(Node parentNode, String childName) static doublegetChildValueAsDouble(Node parentNode, String childName) static intgetChildValueAsInt(Node parentNode, String childName) static longgetChildValueAsLong(Node parentNode, String childName) static NodegetFirstChildNode(Node parentNode, String childName) static ElementgetRootElement(File xmlFile) static ElementgetRootElement(String xmlString) static ElementgetRootElement(InputSource inputSource) static Stringstatic Stringstatic booleangetValueAsBoolean(Node node) static doublegetValueAsDouble(Node node) static intgetValueAsInt(Node node) static longgetValueAsLong(Node node) static booleanhasChildNode(Node parentNode, String childName)
-
Method Details
-
getChildNodes
-
getChildNodes
-
getFirstChildNode
-
hasChildNode
-
getChildValue
-
getChildValue
-
getValue
-
getValue
-
getChildValueAsInt
-
getValueAsInt
-
getChildValueAsLong
-
getValueAsLong
-
getChildValueAsDouble
-
getValueAsDouble
-
getChildValueAsBoolean
-
getValueAsBoolean
-
getRootElement
- Throws:
IOException
-
getRootElement
- Throws:
IOException
-
getRootElement
- Throws:
IOException
-