public class XmDomUtil
extends java.lang.Object
Constructor and Description |
---|
XmDomUtil() |
Modifier and Type | Method and Description |
---|---|
static java.util.ArrayList<org.w3c.dom.Node> |
collectChildNodes(org.w3c.dom.Node n) |
static java.util.ArrayList<org.w3c.dom.Node> |
collectElements(org.w3c.dom.Node n,
java.lang.String... names) |
static org.w3c.dom.Node[] |
collectElementsAsArray(org.w3c.dom.Node n,
java.lang.String name) |
static java.util.ArrayList<org.w3c.dom.Node> |
collectElementsExclude(org.w3c.dom.Node n,
java.lang.String... names) |
static java.lang.String |
getAttr(org.w3c.dom.Node n,
java.lang.String name) |
static boolean |
getAttrBool(org.w3c.dom.Node n,
java.lang.String name) |
static org.w3c.dom.Node |
getContent(org.w3c.dom.Node n) |
static java.lang.String |
getContentText(org.w3c.dom.Node n) |
static org.w3c.dom.Node |
getElement(org.w3c.dom.Node n,
java.lang.String name) |
static boolean |
hasAttr(org.w3c.dom.Node n,
java.lang.String name) |
public static org.w3c.dom.Node getElement(org.w3c.dom.Node n, java.lang.String name)
public static org.w3c.dom.Node getContent(org.w3c.dom.Node n)
public static java.lang.String getContentText(org.w3c.dom.Node n)
public static java.lang.String getAttr(org.w3c.dom.Node n, java.lang.String name)
public static boolean hasAttr(org.w3c.dom.Node n, java.lang.String name)
public static boolean getAttrBool(org.w3c.dom.Node n, java.lang.String name)
public static org.w3c.dom.Node[] collectElementsAsArray(org.w3c.dom.Node n, java.lang.String name)
public static java.util.ArrayList<org.w3c.dom.Node> collectElements(org.w3c.dom.Node n, java.lang.String... names)
public static java.util.ArrayList<org.w3c.dom.Node> collectElementsExclude(org.w3c.dom.Node n, java.lang.String... names)
public static java.util.ArrayList<org.w3c.dom.Node> collectChildNodes(org.w3c.dom.Node n)