V - the element type of the path mappublic class CmsPathMap<V> extends java.lang.Object
| Constructor and Description |
|---|
CmsPathMap() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(java.lang.String path,
V value)
Adds an element for the given path, overwriting the previous element for that path if there is one.
|
java.util.List<V> |
getChildValues(java.lang.String path)
Gets the values for the direct children of the given path.
|
java.util.List<V> |
getDescendantValues(java.lang.String path)
Gets the values for the descendants of the path, including the path itself.
|
public CmsPathMap()
public void add(java.lang.String path, V value)
path - the pathvalue - the element to addpublic java.util.List<V> getChildValues(java.lang.String path)
path - the pathpublic java.util.List<V> getDescendantValues(java.lang.String path)
path - the path