public class FilteredNodeChildren extends NodeChildren
name, namespaceMap, namespacePrefix, namespaceTagHints, parent
Constructor and Description |
---|
FilteredNodeChildren(GPathResult parent,
Closure closure,
Map<String,String> namespaceTagHints) |
Modifier and Type | Method and Description |
---|---|
Iterator |
nodeIterator() |
GPathResult |
pop()
Returns the parent of this GPathResult.
|
appendNode, build, childNodes, find, findAll, iterator, parents, replaceBody, replaceNode, size, text, writeTo
breadthFirst, children, declareNamespace, depthFirst, equals, getAt, getAt, getBody, getProperty, isEmpty, leftShift, list, lookupNamespace, name, parent, plus, putAt, setMetaClass, setProperty, toBigDecimal, toBigInteger, toBoolean, toDouble, toFloat, toInteger, toLong, toString, toURI, toURL
getMetaClass, invokeMethod
public FilteredNodeChildren(GPathResult parent, Closure closure, Map<String,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 Iterator nodeIterator()
nodeIterator
in class NodeChildren