|
Groovy 2.1.0-rc-2 | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectgroovy.lang.GroovyObjectSupport
groovy.util.slurpersupport.GPathResult
groovy.util.slurpersupport.NodeChildren
groovy.util.slurpersupport.FilteredNodeChildren
public class FilteredNodeChildren extends NodeChildren
Lazy evaluated representation of child nodes filtered by a Closure.
| Field Summary |
|---|
| Fields inherited from class GPathResult | |
|---|---|
| name, namespaceMap, namespacePrefix, namespaceTagHints, parent |
| Constructor Summary | |
FilteredNodeChildren(GPathResult parent, groovy.lang.Closure closure, Map namespaceTagHints)
@param parent the GPathResult prior to the application of the expression creating this GPathResult |
|
| Method Summary | |
|---|---|
Iterator
|
iterator()
|
Iterator
|
nodeIterator()
|
| Methods inherited from class NodeChildren | |
|---|---|
| appendNode, build, childNodes, find, findAll, iterator, nodeIterator, parents, replaceBody, replaceNode, size, text, writeTo |
| Methods inherited from class GPathResult | |
|---|---|
| appendNode, breadthFirst, childNodes, children, declareNamespace, depthFirst, equals, find, findAll, getAt, getAt, getBody, getProperty, isEmpty, iterator, leftShift, list, lookupNamespace, name, nodeIterator, parent, parents, plus, putAt, replaceBody, replaceNode, setMetaClass, setProperty, size, text, toBigDecimal, toBigInteger, toBoolean, toDouble, toFloat, toInteger, toLong, toString, toURI, toURL |
| Methods inherited from class groovy.lang.GroovyObjectSupport | |
|---|---|
| groovy.lang.GroovyObjectSupport#getMetaClass(), groovy.lang.GroovyObjectSupport#setMetaClass(groovy.lang.MetaClass), groovy.lang.GroovyObjectSupport#invokeMethod(java.lang.String, java.lang.Object), groovy.lang.GroovyObjectSupport#setProperty(java.lang.String, java.lang.Object), groovy.lang.GroovyObjectSupport#getProperty(java.lang.String), groovy.lang.GroovyObjectSupport#wait(long, int), groovy.lang.GroovyObjectSupport#wait(long), groovy.lang.GroovyObjectSupport#wait(), groovy.lang.GroovyObjectSupport#equals(java.lang.Object), groovy.lang.GroovyObjectSupport#toString(), groovy.lang.GroovyObjectSupport#hashCode(), groovy.lang.GroovyObjectSupport#getClass(), groovy.lang.GroovyObjectSupport#notify(), groovy.lang.GroovyObjectSupport#notifyAll() |
| Constructor Detail |
|---|
public FilteredNodeChildren(GPathResult parent, groovy.lang.Closure closure, Map 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 mappings
| Method Detail |
|---|
public Iterator iterator()
public Iterator nodeIterator()
Copyright © 2003-2013 The Codehaus. All rights reserved.