[Java] Class FilteredAttributes
- groovy.util.slurpersupport.FilteredAttributes
@Deprecated 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
Methods inherited from class | Name |
---|---|
interface Attributes | getLength, getValue, getValue, getValue, getType, getType, getType, getIndex, getIndex, getLocalName, getURI, getQName |
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 GPathResult -
closure
- the Closure to use to filter the attributes -
namespaceTagHints
- the known tag to namespace mappings
Method Detail
protected Object getNextNode(Iterator iter)
public Iterator nodeIterator()
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/groovy/util/slurpersupport/FilteredAttributes.html