Buildable
, GroovyObject
, Writable
public class FilteredNodeChildren extends NodeChildren
name, namespaceMap, namespacePrefix, namespaceTagHints, parent
Constructor | Description |
---|---|
FilteredNodeChildren(GPathResult parent,
Closure closure,
java.util.Map<java.lang.String,java.lang.String> namespaceTagHints) |
Modifier and Type | Method | Description |
---|---|---|
java.util.Iterator |
nodeIterator() |
|
GPathResult |
pop() |
Returns the parent of this GPathResult.
|
breadthFirst, children, declareNamespace, depthFirst, equals, getAt, getAt, getBody, getProperty, hashCode, isEmpty, leftShift, list, lookupNamespace, name, parent, plus, putAt, setMetaClass, setProperty, toBigDecimal, toBigInteger, toBoolean, toDouble, toFloat, toInteger, toLong, toString, toURI, toURL
getMetaClass, invokeMethod
appendNode, build, childNodes, find, findAll, iterator, parents, replaceBody, replaceNode, size, text, writeTo
public FilteredNodeChildren(GPathResult parent, Closure closure, java.util.Map<java.lang.String,java.lang.String> namespaceTagHints)
parent
- the GPathResult prior to the application of the expression creating this GPathResultclosure
- the Closure to use to filter the nodesnamespaceTagHints
- the known tag to namespace mappingspublic GPathResult pop()
GPathResult
pop
in class GPathResult
this
public java.util.Iterator nodeIterator()
nodeIterator
in class NodeChildren