org.jrobin.core
Class Util.Xml
public static
class
Util.Xml
extends Object
Various DOM utility functions
Method Summary |
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(InputSource inputSource) |
static Element | getRootElement(String xmlString) |
static Element | getRootElement(File xmlFile) |
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[] getChildNodes(Node parentNode)
public static Node[] getChildNodes(Node parentNode, String childName)
public static String getChildValue(Node parentNode, String childName)
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(InputSource inputSource)
public static Element getRootElement(String xmlString)
public static Element getRootElement(File xmlFile)
public static String getValue(Node node)
public static String getValue(Node node, boolean trimValue)
public static boolean getValueAsBoolean(Node node)
public static double getValueAsDouble(Node node)
public static int getValueAsInt(Node node)
public static long getValueAsLong(Node node)
public static boolean hasChildNode(Node parentNode, String childName)