public interface PathResolver
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getJCRPath(Path path)
Returns the given JCR path string for the given path object.
|
Path |
getQPath(java.lang.String path)
Returns the path object for the given JCR path string.
|
Path |
getQPath(java.lang.String path,
boolean normalizeIdentifier)
Returns the path object for the given JCR path string.
|
Path getQPath(java.lang.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(java.lang.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.java.lang.String getJCRPath(Path path) throws NamespaceException
path
- a Path
object.NamespaceException
- if a namespace URI can not be resolved"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"