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, javax.jcr.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.javax.jcr.NamespaceException
- if a namespace prefix can not be resolved.Path getQPath(String path, boolean normalizeIdentifier) throws MalformedPathException, IllegalNameException, javax.jcr.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.javax.jcr.NamespaceException
- if a namespace prefix can not be resolved.Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.