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 int getValueAsInt(Node node)
public static long getValueAsLong(Node node)
public static double getValueAsDouble(Node node)
public static boolean getChildValueAsBoolean(Node parentNode, String childName)
public static boolean getValueAsBoolean(Node node)
public static Element getRootElement(InputSource inputSource) throws IOException
IOException
public static Element getRootElement(String xmlString) throws IOException
IOException
public static Element getRootElement(File xmlFile) throws IOException
IOException
Copyright © 2015. All rights reserved.