Package groovy.xml.dom
Class DOMCategory
java.lang.Object
groovy.xml.dom.DOMCategory
Category class which adds GPath style operations to Java's DOM classes.
- Author:
- sam, paulk
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ElementappendNode(Element self, Object name) static ElementappendNode(Element self, Object name, String value) static ElementappendNode(Element self, Object name, Map attributes) static ElementappendNode(Element self, Object name, Map attributes, String value) static NamedNodeMapattributes(Element element) static NodeListbreadthFirst(Element self) static NodeListstatic NodeListdepthFirst(Element self) static Objectstatic Objectget(NamedNodeMap nodeMap, String elementName) static Objectstatic NodegetAt(groovy.xml.dom.DOMCategory.NodeListsHolder o, int i) static NodeListstatic NodegetAt(groovy.xml.dom.DOMCategory.NodesHolder o, int i) static NodeListstatic Nodestatic NodeListstatic booleanstatic Stringstatic Nodestatic voidstatic voidstatic voidstatic NodereplaceNode(groovy.xml.dom.DOMCategory.NodesHolder self, Closure c) static NodereplaceNode(Node self, Closure c) static voidstatic intsize(NamedNodeMap namedNodeMap) static intstatic Stringstatic Stringstatic Stringstatic Stringstatic Object
-
Constructor Details
-
DOMCategory
public DOMCategory()
-
-
Method Details
-
get
-
get
-
get
-
attributes
-
size
-
getAt
-
getAt
-
getAt
-
getAt
-
getAt
-
getAt
-
name
-
parent
-
text
-
text
-
list
-
depthFirst
-
setValue
-
putAt
-
appendNode
-
appendNode
-
appendNode
-
appendNode
-
replaceNode
-
replaceNode
-
plus
-
plus
-
breadthFirst
-
children
-
toString
-
xpath
-
xpath
-
size
-
isEmpty
-