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