|
Groovy 2.1.6 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgroovy.lang.GroovyObjectSupport
groovy.util.slurpersupport.GPathResult
groovy.util.slurpersupport.NodeChildren
groovy.util.slurpersupport.Attributes
groovy.util.slurpersupport.FilteredAttributes
public class FilteredAttributes extends Attributes
Lazy evaluated representation of a node's attributes filtered by a Closure.
Field Summary |
---|
Fields inherited from class GPathResult | |
---|---|
name, namespaceMap, namespacePrefix, namespaceTagHints, parent |
Constructor Summary | |
FilteredAttributes(GPathResult parent, groovy.lang.Closure closure, Map namespaceTagHints)
@param parent the GPathResult prior to the application of the expression creating this GPathResult |
Method Summary | |
---|---|
Iterator
|
nodeIterator()
|
Methods inherited from class Attributes | |
---|---|
build, childNodes, findAll, iterator, list, name, nodeIterator, parents, text, writeTo |
Methods inherited from class NodeChildren | |
---|---|
appendNode, build, childNodes, find, findAll, iterator, nodeIterator, parents, replaceBody, replaceNode, size, text, writeTo |
Methods inherited from class GPathResult | |
---|---|
appendNode, breadthFirst, childNodes, children, declareNamespace, depthFirst, equals, find, findAll, getAt, getAt, getBody, getProperty, isEmpty, iterator, leftShift, list, lookupNamespace, name, nodeIterator, parent, parents, plus, putAt, replaceBody, replaceNode, setMetaClass, setProperty, size, text, toBigDecimal, toBigInteger, toBoolean, toDouble, toFloat, toInteger, toLong, toString, toURI, toURL |
Methods inherited from class groovy.lang.GroovyObjectSupport | |
---|---|
groovy.lang.GroovyObjectSupport#getMetaClass(), groovy.lang.GroovyObjectSupport#setMetaClass(groovy.lang.MetaClass), groovy.lang.GroovyObjectSupport#invokeMethod(java.lang.String, java.lang.Object), groovy.lang.GroovyObjectSupport#setProperty(java.lang.String, java.lang.Object), groovy.lang.GroovyObjectSupport#getProperty(java.lang.String), groovy.lang.GroovyObjectSupport#wait(long, int), groovy.lang.GroovyObjectSupport#wait(long), groovy.lang.GroovyObjectSupport#wait(), groovy.lang.GroovyObjectSupport#equals(java.lang.Object), groovy.lang.GroovyObjectSupport#toString(), groovy.lang.GroovyObjectSupport#hashCode(), groovy.lang.GroovyObjectSupport#getClass(), groovy.lang.GroovyObjectSupport#notify(), groovy.lang.GroovyObjectSupport#notifyAll() |
Constructor Detail |
---|
public FilteredAttributes(GPathResult parent, groovy.lang.Closure closure, Map namespaceTagHints)
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 |
---|
public Iterator nodeIterator()
Copyright © 2003-2013 The Codehaus. All rights reserved.