public class NodeChild extends GPathResult
name, namespaceMap, namespacePrefix, namespaceTagHints, parent| Constructor and Description |
|---|
NodeChild(Node node,
GPathResult parent,
Map<String,String> namespaceTagHints) |
NodeChild(Node node,
GPathResult parent,
String namespacePrefix,
Map<String,String> namespaceTagHints) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
appendNode(Object newValue) |
Map |
attributes() |
void |
build(groovy.lang.GroovyObject builder) |
Iterator |
childNodes() |
GPathResult |
find(groovy.lang.Closure closure) |
GPathResult |
findAll(groovy.lang.Closure closure) |
Object |
getAt(int index) |
Iterator |
iterator() |
String |
namespaceURI() |
Iterator |
nodeIterator() |
GPathResult |
parents() |
protected void |
replaceBody(Object newValue) |
protected void |
replaceNode(groovy.lang.Closure newValue) |
int |
size() |
String |
text() |
Writer |
writeTo(Writer out) |
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, toURLpublic NodeChild(Node node, GPathResult parent, String namespacePrefix, Map<String,String> namespaceTagHints)
node - a nodeparent - the GPathResult prior to the application of the expression creating this GPathResultnamespacePrefix - the namespace prefix if anynamespaceTagHints - the known tag to namespace mappingspublic NodeChild(Node node, GPathResult parent, Map<String,String> namespaceTagHints)
node - a nodeparent - the GPathResult prior to the application of the expression creating this GPathResultnamespaceTagHints - the known tag to namespace mappingspublic int size()
size in class GPathResultpublic String text()
text in class GPathResultpublic String namespaceURI()
public GPathResult parents()
parents in class GPathResultpublic Iterator iterator()
iterator in class GPathResultpublic Iterator nodeIterator()
nodeIterator in class GPathResultpublic Object getAt(int index)
getAt in class GPathResultpublic Map attributes()
public Iterator childNodes()
childNodes in class GPathResultpublic GPathResult find(groovy.lang.Closure closure)
find in class GPathResultpublic GPathResult findAll(groovy.lang.Closure closure)
findAll in class GPathResultpublic void build(groovy.lang.GroovyObject builder)
public Writer writeTo(Writer out) throws IOException
IOExceptionprotected void replaceNode(groovy.lang.Closure newValue)
replaceNode in class GPathResultprotected void replaceBody(Object newValue)
replaceBody in class GPathResultprotected void appendNode(Object newValue)
appendNode in class GPathResult