|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.portal.cms.util.NodeUtil
Helper class for dealing with Nodes. Similar to common file utility functions, for now
| Field Summary | |
static java.lang.String |
PATH_SEPARATOR
|
| Constructor Summary | |
NodeUtil()
|
|
| Method Summary | |
static java.lang.String |
getNodeName(java.lang.String path)
Returns the node name for a given basePath. |
static java.lang.String |
getParentPath(java.lang.String sPath)
Returns the parent basePath of the Node. |
static boolean |
isValidPath(java.lang.String sPath)
Validates basePath syntactically. |
static void |
print(javax.jcr.Node node)
Prints node properties to std out. |
| 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 java.lang.String getParentPath(java.lang.String sPath)
throws java.lang.Exception
sPath -
java.lang.Exception
public static java.lang.String getNodeName(java.lang.String path)
throws java.lang.Exception
path -
java.lang.Exceptionpublic static boolean isValidPath(java.lang.String sPath)
sPath -
public static void print(javax.jcr.Node node)
node -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||