Package groovy.util.slurpersupport
Class NodeParents
- java.lang.Object
-
- groovy.lang.GroovyObjectSupport
-
- groovy.util.slurpersupport.GPathResult
-
- groovy.util.slurpersupport.NodeChildren
-
- groovy.util.slurpersupport.NodeParents
-
- All Implemented Interfaces:
Buildable
,GroovyObject
,Writable
,Iterable
@Deprecated public class NodeParents extends NodeChildren
Deprecated.Lazy evaluated representation of parent nodes without duplicates
-
-
Field Summary
-
Fields inherited from class groovy.util.slurpersupport.GPathResult
name, namespaceMap, namespacePrefix, namespaceTagHints, parent
-
-
Constructor Summary
Constructors Constructor Description NodeParents(GPathResult parent, Map<String,String> namespaceTagHints)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Iterator
nodeIterator()
Deprecated.-
Methods inherited from class groovy.util.slurpersupport.NodeChildren
appendNode, build, childNodes, find, findAll, iterator, parents, replaceBody, replaceNode, size, text, writeTo
-
Methods inherited from class groovy.util.slurpersupport.GPathResult
breadthFirst, children, createIterator, 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
-
Methods inherited from class groovy.lang.GroovyObjectSupport
getMetaClass
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface groovy.lang.GroovyObject
invokeMethod
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
NodeParents
public NodeParents(GPathResult parent, Map<String,String> namespaceTagHints)
Deprecated.- Parameters:
parent
- the GPathResult prior to the application of the expression creating this GPathResultnamespaceTagHints
- the known tag to namespace mappings
-
-
Method Detail
-
nodeIterator
public Iterator nodeIterator()
Deprecated.- Overrides:
nodeIterator
in classNodeChildren
-
-