groovy.util.slurpersupport
Class FilteredAttributes
java.lang.Object
groovy.lang.GroovyObjectSupport
groovy.util.slurpersupport.GPathResult
groovy.util.slurpersupport.NodeChildren
groovy.util.slurpersupport.Attributes
groovy.util.slurpersupport.FilteredAttributes
- All Implemented Interfaces:
- Buildable, GroovyObject, Writable
- public class FilteredAttributes
- extends groovy.util.slurpersupport.Attributes
- Author:
- John Wilson
FilteredAttributes
public FilteredAttributes(GPathResult parent,
Closure closure,
Map namespaceTagHints)
nodeIterator
public Iterator nodeIterator()
childNodes
public Iterator childNodes()
iterator
public Iterator iterator()
parents
public GPathResult parents()
text
public String text()
find
public GPathResult find(Closure closure)
writeTo
public Writer writeTo(Writer out)
throws IOException
- Description copied from interface:
Writable
- writes this object to the given stream
- Throws:
IOException
build
public void build(GroovyObject builder)
size
public int size()
- Specified by:
size
in class GPathResult
findAll
public GPathResult findAll(Closure closure)
- Specified by:
findAll
in class GPathResult
Copyright © 2003-2007 The Codehaus. All Rights Reserved.