Package groovy.xml.slurpersupport
Class FilteredAttributes
java.lang.Object
groovy.lang.GroovyObjectSupport
groovy.xml.slurpersupport.GPathResult
groovy.xml.slurpersupport.NodeChildren
groovy.xml.slurpersupport.Attributes
groovy.xml.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 SummaryFields inherited from class groovy.xml.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 SummaryModifier and Type Method Description java.util.IteratornodeIterator()Methods inherited from class groovy.xml.slurpersupport.Attributesbuild, childNodes, findAll, iterator, list, name, parents, text, writeToMethods inherited from class groovy.xml.slurpersupport.NodeChildrenappendNode, find, replaceBody, replaceNode, sizeMethods inherited from class groovy.xml.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, toURLMethods inherited from class groovy.lang.GroovyObjectSupportgetMetaClassMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface groovy.lang.GroovyObjectinvokeMethodMethods inherited from interface java.lang.IterableforEach, spliterator
- 
Constructor Details- 
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 Details- 
nodeIteratorpublic java.util.Iterator nodeIterator()- Overrides:
- nodeIteratorin class- Attributes
 
 
-