public interface PathResolver
| Modifier and Type | Method and Description |
|---|---|
String |
getJCRPath(Path path)
Returns the given JCR path string for the given path object.
|
Path |
getQPath(String path)
Returns the path object for the given JCR path string.
|
Path |
getQPath(String path,
boolean normalizeIdentifier)
Returns the path object for the given JCR path string.
|
Path getQPath(String path) throws MalformedPathException, IllegalNameException, NamespaceException
path - prefixed JCR pathPath object.MalformedPathException - if the JCR path format is invalid.IllegalNameException - if any of the JCR names contained in the path are invalid.NamespaceException - if a namespace prefix can not be resolved.Path getQPath(String path, boolean normalizeIdentifier) throws MalformedPathException, IllegalNameException, NamespaceException
path - prefixed JCR pathnormalizeIdentifier - Path object.MalformedPathException - if the JCR path format is invalid.IllegalNameException - if any of the JCR names contained in the path are invalid.NamespaceException - if a namespace prefix can not be resolved.String getJCRPath(Path path) throws NamespaceException
path - a Path object.NamespaceException - if a namespace URI can not be resolvedCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.