Package groovy.util.slurpersupport
Class FilteredAttributes
- java.lang.Object
- 
- groovy.lang.GroovyObjectSupport
- 
- groovy.util.slurpersupport.GPathResult
- 
- groovy.util.slurpersupport.NodeChildren
- 
- groovy.util.slurpersupport.Attributes
- 
- groovy.util.slurpersupport.FilteredAttributes
 
 
 
 
 
- 
- All Implemented Interfaces:
- Buildable,- GroovyObject,- Writable,- java.lang.Iterable
 
 public class FilteredAttributes extends Attributes Lazy evaluated representation of a node's attributes filtered by a Closure.
- 
- 
Field Summary- 
Fields inherited from class groovy.util.slurpersupport.GPathResultname, namespaceMap, namespacePrefix, namespaceTagHints, parent
 
- 
 - 
Constructor SummaryConstructors Constructor Description FilteredAttributes(GPathResult parent, Closure closure, java.util.Map<java.lang.String,java.lang.String> namespaceTagHints)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.IteratornodeIterator()- 
Methods inherited from class groovy.util.slurpersupport.Attributesbuild, childNodes, findAll, iterator, list, name, parents, text, writeTo
 - 
Methods inherited from class groovy.util.slurpersupport.NodeChildrenappendNode, find, replaceBody, replaceNode, size
 - 
Methods inherited from class groovy.util.slurpersupport.GPathResultbreadthFirst, children, createIterator, declareNamespace, depthFirst, equals, getAt, getAt, getBody, getProperty, hashCode, isEmpty, leftShift, lookupNamespace, parent, plus, pop, putAt, setMetaClass, setProperty, toBigDecimal, toBigInteger, toBoolean, toDouble, toFloat, toInteger, toLong, toString, toURI, toURL
 - 
Methods inherited from class groovy.lang.GroovyObjectSupportgetMetaClass, invokeMethod
 
- 
 
- 
- 
- 
Constructor Detail- 
FilteredAttributespublic FilteredAttributes(GPathResult parent, Closure closure, java.util.Map<java.lang.String,java.lang.String> namespaceTagHints) - Parameters:
- parent- the GPathResult prior to the application of the expression creating this GPathResult
- closure- the Closure to use to filter the attributes
- namespaceTagHints- the known tag to namespace mappings
 
 
- 
 - 
Method Detail- 
nodeIteratorpublic java.util.Iterator nodeIterator() - Overrides:
- nodeIteratorin class- Attributes
 
 
- 
 
-