public interface PathMapper
PathMapper
instances provide methods for mapping paths from their JCR
string representation to their Oak representation and vice versa.
The Oak representation of a path consists of a forward slash followed by the
names of the respective items in the Tree
separated by forward slashes.Modifier and Type | Method and Description |
---|---|
String |
getJcrPath(String oakPath)
Returns the JCR path for the given Oak path.
|
String |
getOakPath(String jcrPath)
Returns the Oak path for the given JCR path, or
null if no
such mapping exists because the given JCR path contains a name element
with an unknown namespace URI or prefix, or is otherwise invalid. |
String getOakPath(String jcrPath)
null
if no
such mapping exists because the given JCR path contains a name element
with an unknown namespace URI or prefix, or is otherwise invalid.jcrPath
- JCR pathnull
String getJcrPath(String oakPath)
oakPath
- Oak path"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"