public class NodeChild extends GPathResult
name, namespaceMap, namespacePrefix, namespaceTagHints, parent| Constructor and Description |
|---|
NodeChild(Node node,
GPathResult parent,
java.util.Map namespaceTagHints) |
NodeChild(Node node,
GPathResult parent,
java.lang.String namespacePrefix,
java.util.Map namespaceTagHints) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
appendNode(java.lang.Object newValue) |
java.util.Map |
attributes() |
void |
build(GroovyObject builder) |
java.util.Iterator |
childNodes() |
GPathResult |
find(Closure closure) |
GPathResult |
findAll(Closure closure) |
java.lang.Object |
getAt(int index) |
java.util.Iterator |
iterator() |
java.lang.String |
namespaceURI() |
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, getBody, getProperty, isEmpty, leftShift, list, lookupNamespace, name, parent, plus, putAt, setMetaClass, setProperty, toBigDecimal, toBigInteger, toBoolean, toDouble, toFloat, toInteger, toLong, toString, toURI, toURLgetMetaClass, invokeMethodpublic NodeChild(Node node, GPathResult parent, java.lang.String namespacePrefix, java.util.Map namespaceTagHints)
public NodeChild(Node node, GPathResult parent, java.util.Map namespaceTagHints)
public int size()
size in class GPathResultpublic java.lang.String text()
text in class GPathResultpublic java.lang.String namespaceURI()
public GPathResult parents()
parents in class GPathResultpublic java.util.Iterator iterator()
iterator in class GPathResultpublic java.util.Iterator nodeIterator()
nodeIterator in class GPathResultpublic java.lang.Object getAt(int index)
getAt in class GPathResultpublic java.util.Map attributes()
public java.util.Iterator childNodes()
childNodes in class GPathResultpublic GPathResult find(Closure closure)
find in class GPathResultpublic GPathResult findAll(Closure closure)
findAll in class GPathResultpublic void build(GroovyObject builder)
public java.io.Writer writeTo(java.io.Writer out)
throws java.io.IOException
Writablejava.io.IOExceptionprotected 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