On this page
[Java] Class FilteredAttributes
- groovy.xml.slurpersupport.FilteredAttributes
public class FilteredAttributes
extends Attributes
Lazy evaluated representation of a node's attributes filtered by a Closure.
Constructor Summary
Constructor and description |
---|
FilteredAttributes(GPathResult parent, Closure closure, Map<String, String> namespaceTagHints)
|
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
protected Object |
getNextNode(Iterator iter) |
|
public Iterator |
nodeIterator() |
Inherited Methods Summary
Constructor Detail
public FilteredAttributes(GPathResult parent, Closure closure, Map<String, String> namespaceTagHints)
- Parameters:
parent
- the GPathResult prior to the application of the expression creating this GPathResultclosure
- the Closure to use to filter the attributesnamespaceTagHints
- the known tag to namespace mappings
Method Detail
@Override protected Object getNextNode(Iterator iter)
@Override public Iterator nodeIterator()
© 2003-2022 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/4.0.0/html/gapi/groovy/xml/slurpersupport/FilteredAttributes.html