|
||||||||||
| 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 String |
PATH_SEPARATOR
Item path separator |
| Constructor Summary | |
|---|---|
NodeUtil()
|
|
| Method Summary | |
|---|---|
static String |
getNodeName(String path)
Get the node name |
static String |
getParentPath(String path)
Get the parent path |
static boolean |
isValidPath(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 String PATH_SEPARATOR
| Constructor Detail |
|---|
public NodeUtil()
| Method Detail |
|---|
public static boolean isValidPath(String path)
path - The path to validate
public static String getParentPath(String path)
throws ObjectContentManagerException
path - The path from wich the parent path has to be returned
ObjectContentManagerException - when the path is invalid
public static String getNodeName(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 | |||||||||