groovy.xml.dom
Class DOMCategory
java.lang.Object
groovy.xml.dom.DOMCategory
public class DOMCategory
- extends java.lang.Object
- Author:
- sam, paulk
Method Summary |
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(java.lang.Object o,
java.lang.String elementName)
|
static org.w3c.dom.Node |
getAt(org.w3c.dom.Element element,
int i)
|
static org.w3c.dom.Node |
getAt(org.w3c.dom.NodeList nodeList,
int i)
|
static boolean |
isEmpty(org.w3c.dom.NodeList self)
|
static java.util.List |
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 int |
size(org.w3c.dom.NamedNodeMap namedNodeMap)
|
static int |
size(org.w3c.dom.NodeList self)
|
static java.lang.String |
text(java.lang.Object o)
|
static java.lang.String |
toString(java.lang.Object o)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DOMCategory
public DOMCategory()
get
public static java.lang.Object get(java.lang.Object o,
java.lang.String elementName)
attributes
public static org.w3c.dom.NamedNodeMap attributes(org.w3c.dom.Element element)
size
public static int size(org.w3c.dom.NamedNodeMap namedNodeMap)
getAt
public static org.w3c.dom.Node getAt(org.w3c.dom.Element element,
int i)
getAt
public static org.w3c.dom.Node getAt(org.w3c.dom.NodeList nodeList,
int i)
name
public static java.lang.String name(org.w3c.dom.Element element)
parent
public static org.w3c.dom.Node parent(org.w3c.dom.Node node)
text
public static java.lang.String text(java.lang.Object o)
list
public static java.util.List list(org.w3c.dom.NodeList self)
depthFirst
public static org.w3c.dom.NodeList depthFirst(org.w3c.dom.Element self)
breadthFirst
public static org.w3c.dom.NodeList breadthFirst(org.w3c.dom.Element self)
children
public static org.w3c.dom.NodeList children(org.w3c.dom.Element self)
toString
public static java.lang.String toString(java.lang.Object o)
size
public static int size(org.w3c.dom.NodeList self)
isEmpty
public static boolean isEmpty(org.w3c.dom.NodeList self)
Copyright © 2003-2011 The Codehaus. All Rights Reserved.