public abstract class JcrUtil extends Object
JcrUtil class provides helper methods used
throughout this bundle.| Constructor and Description |
|---|
JcrUtil() |
| Modifier and Type | Method and Description |
|---|---|
static javax.jcr.Node |
createPath(javax.jcr.Session session,
String absolutePath,
String nodeType)
Creates or gets the
Node at the given Path. |
public static javax.jcr.Node createPath(javax.jcr.Session session,
String absolutePath,
String nodeType)
throws javax.jcr.RepositoryException
Node at the given Path.session - The session to use for node creationabsolutePath - absolute node pathnodeType - to use for creation of the final nodejavax.jcr.RepositoryException - in case of exception accessing the RepositoryCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.