|
|||||
FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
---|---|
String |
name
|
Map |
namespaceMap
|
String |
namespacePrefix
|
Map |
namespaceTagHints
|
GPathResult |
parent
|
Constructor Summary | |
GPathResult(GPathResult parent, String name, String namespacePrefix, Map namespaceTagHints)
|
Method Summary | |
---|---|
void |
appendNode(Object newValue)
|
Iterator |
breadthFirst()
An iterator useful for traversing XML documents/fragments in breadth-first order. |
Iterator |
childNodes()
|
GPathResult |
children()
|
GPathResult |
declareNamespace(Map newNamespaceMapping)
|
Iterator |
depthFirst()
|
boolean |
equals(Object obj)
|
GPathResult |
find(Closure closure)
|
GPathResult |
findAll(Closure closure)
|
Object |
getAt(int index)
|
Object |
getAt(IntRange range)
|
Closure |
getBody()
|
Object |
getProperty(String property)
|
boolean |
isEmpty()
|
Iterator |
iterator()
|
Object |
leftShift(Object newValue)
|
List |
list()
|
String |
lookupNamespace(String prefix)
|
String |
name()
|
Iterator |
nodeIterator()
|
GPathResult |
parent()
|
GPathResult |
parents()
|
Object |
plus(Object newValue)
|
void |
putAt(int index, Object newValue)
|
void |
replaceBody(Object newValue)
|
void |
replaceNode(Closure newValue)
|
void |
setMetaClass(MetaClass metaClass)
|
void |
setProperty(String property, Object newValue)
|
int |
size()
|
String |
text()
|
BigDecimal |
toBigDecimal()
|
BigInteger |
toBigInteger()
|
Boolean |
toBoolean()
|
Double |
toDouble()
|
Float |
toFloat()
|
Integer |
toInteger()
|
Long |
toLong()
|
String |
toString()
|
URI |
toURI()
|
URL |
toURL()
|
Constructor Detail |
---|
public GPathResult(GPathResult parent, String name, String namespacePrefix, Map namespaceTagHints)
Method Detail |
---|
void appendNode(Object newValue)
public Iterator breadthFirst()
public Iterator childNodes()
public GPathResult children()
public GPathResult declareNamespace(Map newNamespaceMapping)
public Iterator depthFirst()
public boolean equals(Object obj)
public GPathResult find(Closure closure)
public GPathResult findAll(Closure closure)
public Object getAt(int index)
public Object getAt(IntRange range)
public Closure getBody()
public Object getProperty(String property)
public boolean isEmpty()
public Iterator iterator()
public Object leftShift(Object newValue)
public List list()
public String lookupNamespace(String prefix)
public String name()
public Iterator nodeIterator()
public GPathResult parent()
public GPathResult parents()
public Object plus(Object newValue)
public void putAt(int index, Object newValue)
void replaceBody(Object newValue)
void replaceNode(Closure newValue)
public void setMetaClass(MetaClass metaClass)
public void setProperty(String property, Object newValue)
public int size()
public String text()
public BigDecimal toBigDecimal()
public BigInteger toBigInteger()
public Boolean toBoolean()
public Double toDouble()
public Float toFloat()
public Integer toInteger()
public Long toLong()
public String toString()
public URI toURI()
public URL toURL()