groovy.util.slurpersupport
Class FilteredNodeChildren

java.lang.Object
  extended by groovy.lang.GroovyObjectSupport
      extended by groovy.util.slurpersupport.GPathResult
          extended by groovy.util.slurpersupport.NodeChildren
              extended by groovy.util.slurpersupport.FilteredNodeChildren
All Implemented Interfaces:
Buildable, GroovyObject, Writable

public class FilteredNodeChildren
extends NodeChildren

Author:
John Wilson

Field Summary
private  Closure closure
           
 
Fields inherited from class groovy.util.slurpersupport.GPathResult
name, namespaceMap, namespacePrefix, namespaceTagHints, parent
 
Constructor Summary
FilteredNodeChildren(GPathResult parent, Closure closure, java.util.Map namespaceTagHints)
           
 
Method Summary
private  boolean closureYieldsTrueForNode(java.lang.Object childNode)
           
 java.util.Iterator iterator()
           
 java.util.Iterator nodeIterator()
           
 
Methods inherited from class groovy.util.slurpersupport.NodeChildren
appendNode, build, childNodes, find, findAll, parents, replaceBody, replaceNode, size, text, writeTo
 
Methods inherited from class groovy.util.slurpersupport.GPathResult
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
 
Methods inherited from class groovy.lang.GroovyObjectSupport
getMetaClass, invokeMethod
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

closure

private final Closure closure
Constructor Detail

FilteredNodeChildren

public FilteredNodeChildren(GPathResult parent,
                            Closure closure,
                            java.util.Map namespaceTagHints)
Method Detail

iterator

public java.util.Iterator iterator()
Overrides:
iterator in class NodeChildren

nodeIterator

public java.util.Iterator nodeIterator()
Overrides:
nodeIterator in class NodeChildren

closureYieldsTrueForNode

private boolean closureYieldsTrueForNode(java.lang.Object childNode)


Copyright © ${year} The Codehaus. All Rights Reserved.