| Access | Constructor and Description |
|---|---|
| public | FilteredNodeChildren(final GPathResult
the GPathResult prior to the application of the expression creating this GPathResult parent, final Closure<V> the Closure to use to filter the nodes closure, final Map<String, String> the known tag to namespace mappings namespaceTagHints)
|
| Modifier and Type | Method and Description |
|---|---|
| private boolean | |
| public Iterator | |
| public GPathResult |
| closure | back to summary |
|---|---|
| private final Closure<V> closure | |
| FilteredNodeChildren | back to summary |
|---|---|
public FilteredNodeChildren(final GPathResult parent, final Closure<V> closure, final Map<String, String> namespaceTagHints)
| |
| closureYieldsTrueForNode | back to summary |
|---|---|
| private boolean closureYieldsTrueForNode(Object childNode) | |
| nodeIterator | back to summary |
|---|---|
| public Iterator Overrides groovy. | |
| pop | back to summary |
|---|---|
| public GPathResult pop() Overrides groovy. Doc from groovy. Returns the parent of this GPathResult. If this GPathResult has no parent the GPathResult itself is returned. This is no navigation in the XML tree. It is backtracking on the GPath expression chain. It is the behavior of parent() prior to 2.2.0. Backtracking on '..' actually goes down one level in the tree again. find() and findAll() are popped along with the level they have been applied to.
| |