|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.ocm.repository.NodeUtil
public class NodeUtil
Utility class for managing JCR nodes.
| Field Summary | |
|---|---|
static java.lang.String |
PATH_SEPARATOR
Item path separator |
| Constructor Summary | |
|---|---|
NodeUtil()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
getNodeName(java.lang.String path)
Get the node name |
static java.lang.String |
getParentPath(java.lang.String path)
Get the parent path |
static boolean |
isValidPath(java.lang.String path)
Check if a path is valid |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PATH_SEPARATOR
| Constructor Detail |
|---|
public NodeUtil()
| Method Detail |
|---|
public static boolean isValidPath(java.lang.String path)
path - The path to validate
public static java.lang.String getParentPath(java.lang.String path)
throws ObjectContentManagerException
path - The path from wich the parent path has to be returned
ObjectContentManagerException - when the path is invalid
public static java.lang.String getNodeName(java.lang.String path)
throws ObjectContentManagerException
path - The path from which the node name has to be retrieved
ObjectContentManagerException - when the path is invalid
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||