public class DOMCategory
extends java.lang.Object
Constructor and Description |
---|
DOMCategory() |
Modifier and Type | Method and Description |
---|---|
static org.w3c.dom.Element |
appendNode(org.w3c.dom.Element self,
java.lang.Object name) |
static org.w3c.dom.Element |
appendNode(org.w3c.dom.Element self,
java.lang.Object name,
java.util.Map attributes) |
static org.w3c.dom.Element |
appendNode(org.w3c.dom.Element self,
java.lang.Object name,
java.util.Map attributes,
java.lang.String value) |
static org.w3c.dom.Element |
appendNode(org.w3c.dom.Element self,
java.lang.Object name,
java.lang.String value) |
static org.w3c.dom.NamedNodeMap |
attributes(org.w3c.dom.Element element) |
static org.w3c.dom.NodeList |
breadthFirst(org.w3c.dom.Element self) |
static org.w3c.dom.NodeList |
children(org.w3c.dom.Element self) |
static org.w3c.dom.NodeList |
depthFirst(org.w3c.dom.Element self) |
static java.lang.Object |
get(org.w3c.dom.Element element,
java.lang.String elementName) |
static java.lang.Object |
get(org.w3c.dom.NamedNodeMap nodeMap,
java.lang.String elementName) |
static java.lang.Object |
get(org.w3c.dom.NodeList nodeList,
java.lang.String elementName) |
static org.w3c.dom.Node |
getAt(groovy.xml.dom.DOMCategory.NodeListsHolder o,
int i) |
static org.w3c.dom.NodeList |
getAt(groovy.xml.dom.DOMCategory.NodeListsHolder o,
IntRange r) |
static org.w3c.dom.Node |
getAt(groovy.xml.dom.DOMCategory.NodesHolder o,
int i) |
static org.w3c.dom.NodeList |
getAt(groovy.xml.dom.DOMCategory.NodesHolder o,
IntRange r) |
static org.w3c.dom.Node |
getAt(org.w3c.dom.Node o,
int i) |
static org.w3c.dom.NodeList |
getAt(org.w3c.dom.Node o,
IntRange r) |
static boolean |
isEmpty(org.w3c.dom.NodeList self) |
static java.util.List<org.w3c.dom.Node> |
list(org.w3c.dom.NodeList self) |
static java.lang.String |
name(org.w3c.dom.Element element) |
static org.w3c.dom.Node |
parent(org.w3c.dom.Node node) |
static void |
plus(org.w3c.dom.Element self,
Closure c) |
static void |
plus(org.w3c.dom.NodeList self,
Closure c) |
static void |
putAt(org.w3c.dom.Element self,
java.lang.String property,
java.lang.Object value) |
static org.w3c.dom.Node |
replaceNode(groovy.xml.dom.DOMCategory.NodesHolder self,
Closure c) |
static org.w3c.dom.Node |
replaceNode(org.w3c.dom.Node self,
Closure c) |
static void |
setValue(org.w3c.dom.Element self,
java.lang.String value) |
static int |
size(org.w3c.dom.NamedNodeMap namedNodeMap) |
static int |
size(org.w3c.dom.NodeList self) |
static java.lang.String |
text(org.w3c.dom.Node node) |
static java.lang.String |
text(org.w3c.dom.NodeList nodeList) |
static java.lang.String |
toString(java.lang.Object o) |
static java.lang.String |
xpath(org.w3c.dom.Node self,
java.lang.String expression) |
static java.lang.Object |
xpath(org.w3c.dom.Node self,
java.lang.String expression,
javax.xml.namespace.QName returnType) |
public static java.lang.Object get(org.w3c.dom.Element element, java.lang.String elementName)
public static java.lang.Object get(org.w3c.dom.NodeList nodeList, java.lang.String elementName)
public static java.lang.Object get(org.w3c.dom.NamedNodeMap nodeMap, java.lang.String elementName)
public static org.w3c.dom.NamedNodeMap attributes(org.w3c.dom.Element element)
public static int size(org.w3c.dom.NamedNodeMap namedNodeMap)
public static org.w3c.dom.Node getAt(org.w3c.dom.Node o, int i)
public static org.w3c.dom.Node getAt(groovy.xml.dom.DOMCategory.NodeListsHolder o, int i)
public static org.w3c.dom.Node getAt(groovy.xml.dom.DOMCategory.NodesHolder o, int i)
public static org.w3c.dom.NodeList getAt(org.w3c.dom.Node o, IntRange r)
public static org.w3c.dom.NodeList getAt(groovy.xml.dom.DOMCategory.NodeListsHolder o, IntRange r)
public static org.w3c.dom.NodeList getAt(groovy.xml.dom.DOMCategory.NodesHolder o, IntRange r)
public static java.lang.String name(org.w3c.dom.Element element)
public static org.w3c.dom.Node parent(org.w3c.dom.Node node)
public static java.lang.String text(org.w3c.dom.Node node)
public static java.lang.String text(org.w3c.dom.NodeList nodeList)
public static java.util.List<org.w3c.dom.Node> list(org.w3c.dom.NodeList self)
public static org.w3c.dom.NodeList depthFirst(org.w3c.dom.Element self)
public static void setValue(org.w3c.dom.Element self, java.lang.String value)
public static void putAt(org.w3c.dom.Element self, java.lang.String property, java.lang.Object value)
public static org.w3c.dom.Element appendNode(org.w3c.dom.Element self, java.lang.Object name)
public static org.w3c.dom.Element appendNode(org.w3c.dom.Element self, java.lang.Object name, java.util.Map attributes)
public static org.w3c.dom.Element appendNode(org.w3c.dom.Element self, java.lang.Object name, java.lang.String value)
public static org.w3c.dom.Element appendNode(org.w3c.dom.Element self, java.lang.Object name, java.util.Map attributes, java.lang.String value)
public static org.w3c.dom.Node replaceNode(groovy.xml.dom.DOMCategory.NodesHolder self, Closure c)
public static org.w3c.dom.Node replaceNode(org.w3c.dom.Node self, Closure c)
public static void plus(org.w3c.dom.Element self, Closure c)
public static void plus(org.w3c.dom.NodeList self, Closure c)
public static org.w3c.dom.NodeList breadthFirst(org.w3c.dom.Element self)
public static org.w3c.dom.NodeList children(org.w3c.dom.Element self)
public static java.lang.String toString(java.lang.Object o)
public static java.lang.Object xpath(org.w3c.dom.Node self, java.lang.String expression, javax.xml.namespace.QName returnType)
public static java.lang.String xpath(org.w3c.dom.Node self, java.lang.String expression)
public static int size(org.w3c.dom.NodeList self)
public static boolean isEmpty(org.w3c.dom.NodeList self)