public class NoChildren extends GPathResult
name, namespaceMap, namespacePrefix, namespaceTagHints, parent| Constructor and Description |
|---|
NoChildren(GPathResult parent,
java.lang.String name,
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, toURLgetMetaClass, invokeMethodpublic NoChildren(GPathResult parent, java.lang.String name, java.util.Map namespaceTagHints)
parent - name - public int size()
size in class GPathResultpublic java.lang.String text()
text in class GPathResultpublic GPathResult parents()
parents in class GPathResultpublic java.util.Iterator childNodes()
childNodes in class GPathResultpublic java.util.Iterator iterator()
iterator in class GPathResultpublic GPathResult find(Closure closure)
find in class GPathResultpublic GPathResult findAll(Closure closure)
findAll in class GPathResultpublic java.util.Iterator nodeIterator()
nodeIterator in class GPathResultpublic java.io.Writer writeTo(java.io.Writer out)
throws java.io.IOException
Writablejava.io.IOExceptionpublic void build(GroovyObject builder)
protected void replaceNode(Closure newValue)
replaceNode in class GPathResultprotected void replaceBody(java.lang.Object newValue)
replaceBody in class GPathResultprotected void appendNode(java.lang.Object newValue)
appendNode in class GPathResult