public class FilteredNodeChildren extends GPathResult
name, namespaceMap, namespacePrefix, namespaceTagHints, parent
Constructor and Description |
---|
FilteredNodeChildren(GPathResult parent,
Closure closure,
java.util.Map namespaceTagHints) |
Modifier and Type | Method and Description |
---|---|
protected void |
appendNode(java.lang.Object newValue) |
void |
build(GroovyObject builder) |
java.util.Iterator |
childNodes() |
GPathResult |
find(Closure closure) |
GPathResult |
findAll(Closure closure) |
java.util.Iterator |
iterator() |
java.util.Iterator |
nodeIterator() |
GPathResult |
parents() |
protected void |
replaceBody(java.lang.Object newValue) |
protected void |
replaceNode(Closure newValue) |
int |
size() |
java.lang.String |
text() |
java.io.Writer |
writeTo(java.io.Writer out)
writes this object to the given stream
|
breadthFirst, children, declareNamespace, depthFirst, equals, getAt, getAt, getBody, getProperty, isEmpty, leftShift, list, lookupNamespace, name, parent, plus, putAt, setMetaClass, setProperty, toBigDecimal, toBigInteger, toBoolean, toDouble, toFloat, toInteger, toLong, toString, toURI, toURL
getMetaClass, invokeMethod
public FilteredNodeChildren(GPathResult parent, Closure closure, java.util.Map namespaceTagHints)
public java.util.Iterator iterator()
public java.util.Iterator nodeIterator()
public java.util.Iterator childNodes()
childNodes
in class GPathResult
public GPathResult parents()
parents
in class GPathResult
public int size()
size
in class GPathResult
public java.lang.String text()
text
in class GPathResult
public GPathResult find(Closure closure)
find
in class GPathResult
public GPathResult findAll(Closure closure)
findAll
in class GPathResult
public void build(GroovyObject builder)
public java.io.Writer writeTo(java.io.Writer out) throws java.io.IOException
Writable
java.io.IOException
protected void replaceNode(Closure newValue)
replaceNode
in class GPathResult
protected void replaceBody(java.lang.Object newValue)
replaceBody
in class GPathResult
protected void appendNode(java.lang.Object newValue)
appendNode
in class GPathResult