groovy.util.slurpersupport
Class FilteredAttributes

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.Attributes
                  extended by groovy.util.slurpersupport.FilteredAttributes
All Implemented Interfaces:
Buildable, GroovyObject, Writable

public class FilteredAttributes
extends Attributes

Lazy evaluated representation of nodes filtered by attributes.

Author:
John Wilson

Field Summary
private  Closure closure
           
 
Fields inherited from class groovy.util.slurpersupport.Attributes
attributeName
 
Fields inherited from class groovy.util.slurpersupport.GPathResult
name, namespaceMap, namespacePrefix, namespaceTagHints, parent
 
Constructor Summary
FilteredAttributes(GPathResult parent, Closure closure, java.util.Map namespaceTagHints)
           
 
Method Summary
 java.util.Iterator nodeIterator()
           
 
Methods inherited from class groovy.util.slurpersupport.Attributes
build, childNodes, findAll, iterator, list, name, parents, text, writeTo
 
Methods inherited from class groovy.util.slurpersupport.NodeChildren
appendNode, find, replaceBody, replaceNode, size
 
Methods inherited from class groovy.util.slurpersupport.GPathResult
breadthFirst, children, declareNamespace, depthFirst, equals, getAt, getAt, getBody, getProperty, isEmpty, leftShift, lookupNamespace, 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

FilteredAttributes

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

nodeIterator

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


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