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 String
getChildValue
(Node parentNode, String childName) static String
getChildValue
(Node parentNode, String childName, boolean trim) static boolean
getChildValueAsBoolean
(Node parentNode, String childName) static double
getChildValueAsDouble
(Node parentNode, String childName) static int
getChildValueAsInt
(Node parentNode, String childName) static long
getChildValueAsLong
(Node parentNode, String childName) static Node
getFirstChildNode
(Node parentNode, String childName) static Element
getRootElement
(File xmlFile) static Element
getRootElement
(String xmlString) static Element
getRootElement
(InputSource inputSource) static String
static String
static boolean
getValueAsBoolean
(Node node) static double
getValueAsDouble
(Node node) static int
getValueAsInt
(Node node) static long
getValueAsLong
(Node node) static boolean
hasChildNode
(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
-