Class Overview
Various DOM utility functions.
Summary
Public Methods |
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)
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
Public Methods
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
(File xmlFile)
public
static
Element
getRootElement
(InputSource inputSource)
public
static
Element
getRootElement
(String xmlString)
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)