@ProviderType public interface PathMapper
PathMapperinstances 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
Treeseparated by forward slashes.
|Modifier and Type||Method and Description|
Returns the JCR path for the given Oak path.
Returns the Oak path for the given JCR path, or
@CheckForNull String getOakPath(String jcrPath)
nullif 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 path
oakPath- Oak path
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.