Package | Description |
---|---|
org.apache.jackrabbit.spi.commons.name |
Modifier and Type | Method and Description |
---|---|
PathMap.Element<T> |
PathMap.Element.getDescendant(Path relPath,
boolean exact)
Map a relPath starting at
this Element. |
PathMap.Element<T> |
PathMap.Element.getParent()
Return the parent of this element
|
PathMap.Element<T> |
PathMap.map(Path path,
boolean exact)
Map a path to a child.
|
PathMap.Element<T> |
PathMap.put(Path path)
Create an empty child given by its path.
|
PathMap.Element<T> |
PathMap.put(Path path,
T obj)
Create an element given by its path.
|
PathMap.Element<T> |
PathMap.Element.remove(Path.Element nameIndex)
Remove a child.
|
Modifier and Type | Method and Description |
---|---|
List<PathMap.Element<T>> |
PathMap.Element.getChildren()
Return an iterator over all of this element's children.
|
Modifier and Type | Method and Description |
---|---|
void |
PathMap.ElementVisitor.elementVisited(PathMap.Element<T> element)
Invoked for every element visited on a tree traversal
|
boolean |
PathMap.Element.isAncestorOf(PathMap.Element<T> other)
Return a flag indicating whether the specified node is a
child of this node.
|
void |
PathMap.Element.put(Path.Element nameIndex,
PathMap.Element<T> element)
Link a child of this node.
|
void |
PathMap.put(Path path,
PathMap.Element<T> element)
Put an element given by its path.
|
Modifier and Type | Method and Description |
---|---|
void |
PathMap.Element.setChildren(Map<Path.Element,PathMap.Element<T>> children)
Sets a new list of children of this element.
|
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.