Package org.rrd4j.core
Class Util.Xml
java.lang.Object
org.rrd4j.core.Util.Xml
- Enclosing class:
- Util
public static class Util.Xml extends Object
Various DOM utility functions.
-
Method Summary
Modifier and Type Method Description static 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 StringgetValue(Node node)static StringgetValue(Node node, boolean trimValue)static 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
-