[Java] Class FilteredNodeChildren
- groovy.xml.slurpersupport.FilteredNodeChildren
public class FilteredNodeChildren
extends NodeChildren
Lazy evaluated representation of child nodes filtered by a Closure.
Constructor Summary
Methods Summary
Inherited Methods Summary
Inherited Methods
Methods inherited from class |
Name |
class NodeChildren |
appendNode, build, childNodes, find, findAll, getNextNode, hasNext, hasNext, iterator, next, next, nodeIterator, parents, remove, remove, replaceBody, replaceNode, size, text, writeTo |
class GPathResult |
appendNode, breadthFirst, childNodes, children, createIterator, declareNamespace, depthFirst, doCall, doCall, equals, find, findAll, getAt, getAt, getAttribute, getBody, getProperty, hasNext, hasNext, hasNext, hashCode, isEmpty, iterator, leftShift, list, lookupNamespace, name, next, next, next, nodeIterator, parent, parents, plus, plus, pop, putAt, remove, remove, remove, replaceBody, replaceNode, setAttribute, setMetaClass, setProperty, size, text, toBigDecimal, toBigInteger, toBoolean, toDouble, toFloat, toInteger, toLong, toString, toURI, toURL |
class GroovyObjectSupport |
getMetaClass, setMetaClass |
Constructor Detail
public FilteredNodeChildren(GPathResult parent, Closure closure, Map<String, String> namespaceTagHints)
-
Parameters:
parent
- the GPathResult prior to the application of the expression creating this GPathResult
closure
- the Closure to use to filter the nodes
namespaceTagHints
- the known tag to namespace mappings
Method Detail