Top Description Fields Constructors Methods
groovy.util.slurpersupport

public Class FilteredAttributes

extends Attributes
Class Inheritance
Annotations
@Deprecated
Imports
groovy.lang.Closure, org.codehaus.groovy.runtime.typehandling.DefaultTypeTransformation, java.util.Iterator, .Map

Deprecated

Lazy evaluated representation of a node's attributes filtered by a Closure.

Field Summary

Modifier and TypeField and Description
private final Closure<V>
Inherited from groovy.util.slurpersupport.Attributes:
attributeName

Constructor Summary

AccessConstructor and Description
public
FilteredAttributes(final GPathResult
the GPathResult prior to the application of the expression creating this GPathResult
parent
,
final Closure<V>
the Closure to use to filter the attributes
closure
,
final Map<String, String>
the known tag to namespace mappings
namespaceTagHints
)

Deprecated as a consequence of GPathResult being deprecated.

Method Summary

Modifier and TypeMethod and Description
public Iterator<E>
Inherited from groovy.util.slurpersupport.Attributes:
buildchildNodesfindAlliteratorlistnameparentstextwriteTo

Field Detail

closureback to summary
private final Closure<V> closure

Constructor Detail

FilteredAttributesback to summary
public FilteredAttributes(final GPathResult parent, final Closure<V> closure, final Map<String, String> namespaceTagHints)

Deprecated

as a consequence of GPathResult being deprecated. See corresponding docs for further information.

Parameters
parent:GPathResult

the GPathResult prior to the application of the expression creating this GPathResult

closure:Closure<V>

the Closure to use to filter the attributes

namespaceTagHints:Map<String, String>

the known tag to namespace mappings

Method Detail

nodeIteratorback to summary
public Iterator<E> nodeIterator()

Overrides groovy.util.slurpersupport.Attributes.nodeIterator.