Buildable
, GroovyObject
, Writable
, Iterable
public class NodeParents extends NodeChildren
name, namespaceMap, namespacePrefix, namespaceTagHints, parent
Constructor | Description |
---|---|
NodeParents(GPathResult parent,
Map<String,String> namespaceTagHints) |
Modifier and Type | Method | Description |
---|---|---|
Iterator |
nodeIterator() |
breadthFirst, children, declareNamespace, depthFirst, equals, getAt, getAt, getBody, getProperty, hashCode, isEmpty, leftShift, list, lookupNamespace, name, parent, plus, pop, putAt, setMetaClass, setProperty, toBigDecimal, toBigInteger, toBoolean, toDouble, toFloat, toInteger, toLong, toString, toURI, toURL
getMetaClass, invokeMethod
forEach, spliterator
appendNode, build, childNodes, find, findAll, iterator, parents, replaceBody, replaceNode, size, text, writeTo
public NodeParents(GPathResult parent, Map<String,String> namespaceTagHints)
parent
- the GPathResult prior to the application of the expression creating this GPathResultnamespaceTagHints
- the known tag to namespace mappingspublic Iterator nodeIterator()
nodeIterator
in class NodeChildren