Constructor and Description |
---|
Xml() |
Modifier and Type | Method and Description |
---|---|
static 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(InputSource inputSource) |
static Element |
getRootElement(String xmlString) |
static String |
getValue(Node node) |
static String |
getValue(Node node,
boolean trimValue) |
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) |
public static Node getFirstChildNode(Node parentNode, String childName) throws RrdException
RrdException
public static String getChildValue(Node parentNode, String childName) throws RrdException
RrdException
public static String getChildValue(Node parentNode, String childName, boolean trim) throws RrdException
RrdException
public static int getChildValueAsInt(Node parentNode, String childName) throws RrdException
RrdException
public static int getValueAsInt(Node node)
public static long getChildValueAsLong(Node parentNode, String childName) throws RrdException
RrdException
public static long getValueAsLong(Node node)
public static double getChildValueAsDouble(Node parentNode, String childName) throws RrdException
RrdException
public static double getValueAsDouble(Node node)
public static boolean getChildValueAsBoolean(Node parentNode, String childName) throws RrdException
RrdException
public static boolean getValueAsBoolean(Node node)
public static Element getRootElement(InputSource inputSource) throws RrdException, IOException
RrdException
IOException
public static Element getRootElement(String xmlString) throws RrdException, IOException
RrdException
IOException
public static Element getRootElement(File xmlFile) throws RrdException, IOException
RrdException
IOException