atavism.server.engine
Class Configuration
java.lang.Object
atavism.server.engine.Configuration
public class Configuration
- extends java.lang.Object
Method Summary |
static org.w3c.dom.Node |
findChild(org.w3c.dom.Node node,
java.lang.String name)
|
static java.util.List |
getMatchingChildren(org.w3c.dom.Node node,
java.lang.String name)
|
static java.lang.String |
getNodeValue(org.w3c.dom.Node node)
|
org.w3c.dom.Node |
getRoot()
|
static java.lang.String |
getValueFromChild(java.lang.String childName,
org.w3c.dom.Node node)
|
static void |
main(java.lang.String[] args)
|
static void |
printAllChildren(org.w3c.dom.Node node)
|
static java.lang.String |
toStringNode(org.w3c.dom.Node domNode)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Configuration
public Configuration(java.lang.String fileName)
getRoot
public org.w3c.dom.Node getRoot()
getValueFromChild
public static java.lang.String getValueFromChild(java.lang.String childName,
org.w3c.dom.Node node)
getNodeValue
public static java.lang.String getNodeValue(org.w3c.dom.Node node)
getMatchingChildren
public static java.util.List getMatchingChildren(org.w3c.dom.Node node,
java.lang.String name)
findChild
public static org.w3c.dom.Node findChild(org.w3c.dom.Node node,
java.lang.String name)
printAllChildren
public static void printAllChildren(org.w3c.dom.Node node)
toStringNode
public static java.lang.String toStringNode(org.w3c.dom.Node domNode)
main
public static void main(java.lang.String[] args)