| Modifier and Type | Method and Description |
|---|---|
static Node[] | getChildNodes(Node parentNode)getChildNodes. |
static Node[] | getChildNodes(Node parentNode,
String childName)getChildNodes. |
static String | getChildValue(Node parentNode,
String childName)getChildValue. |
static String | getChildValue(Node parentNode,
String childName,
boolean trim)getChildValue. |
static boolean | getChildValueAsBoolean(Node parentNode,
String childName)getChildValueAsBoolean. |
static double | getChildValueAsDouble(Node parentNode,
String childName)getChildValueAsDouble. |
static int | getChildValueAsInt(Node parentNode,
String childName)getChildValueAsInt. |
static long | getChildValueAsLong(Node parentNode,
String childName)getChildValueAsLong. |
static Node | getFirstChildNode(Node parentNode,
String childName)getFirstChildNode. |
static Element | getRootElement(File xmlFile)getRootElement. |
static Element | getRootElement(InputSource inputSource)getRootElement. |
static Element | getRootElement(String xmlString)getRootElement. |
static String | getValue(Node node)getValue. |
static String | getValue(Node node,
boolean trimValue)getValue. |
static boolean | getValueAsBoolean(Node node)getValueAsBoolean. |
static double | getValueAsDouble(Node node)getValueAsDouble. |
static int | getValueAsInt(Node node)getValueAsInt. |
static long | getValueAsLong(Node node)getValueAsLong. |
static boolean | hasChildNode(Node parentNode,
String childName)Has child node |
public static String getChildValue(Node parentNode, String childName, boolean trim)
public static boolean getChildValueAsBoolean(Node parentNode, String childName)
public static double getChildValueAsDouble(Node parentNode, String childName)
public static int getChildValueAsInt(Node parentNode, String childName)
public static long getChildValueAsLong(Node parentNode, String childName)
public static Node getFirstChildNode(Node parentNode, String childName)
public static Element getRootElement(File xmlFile) throws IOException
IOExceptionpublic static Element getRootElement(InputSource inputSource) throws IOException
IOExceptionpublic static Element getRootElement(String xmlString) throws IOException
IOExceptionpublic static boolean getValueAsBoolean(Node node)
public static double getValueAsDouble(Node node)
public static int getValueAsInt(Node node)
public static long getValueAsLong(Node node)