Package org.codehaus.groovy.runtime
Class XmlGroovyMethods
java.lang.Object
org.codehaus.groovy.runtime.XmlGroovyMethods
This class defines all the new XML-related groovy methods which enhance
the normal JDK XML classes when inside the Groovy environment.
Static methods are used with the first parameter the destination class.
- Author:
- Paul King, Jochen Theodorou
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
XmlGroovyMethods
public XmlGroovyMethods()
-
-
Method Details
-
iterator
Makes NodeList iterable by returning a read-only Iterator which traverses over each Node.- Parameters:
nodeList
- a NodeList- Returns:
- an Iterator for a NodeList
- Since:
- 1.0
-