|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.name.ParsingPathResolver
public class ParsingPathResolver
Path resolver that parsers and formats prefixed JCR paths.
A NameResolver
is used for resolving the path element names.
Constructor Summary | |
---|---|
ParsingPathResolver(NameResolver resolver)
Deprecated. Creates a parsing path resolver. |
Method Summary | |
---|---|
String |
getJCRPath(Path path)
Deprecated. Returns the prefixed JCR path for the given qualified path. |
Path |
getQPath(String path)
Deprecated. Parses the prefixed JCR path and returns the resolved qualified path. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ParsingPathResolver(NameResolver resolver)
resolver
- name resolverMethod Detail |
---|
public Path getQPath(String path) throws NameException, NamespaceException
getQPath
in interface PathResolver
path
- prefixed JCR path
NameException
- if the JCR path format is invalid
NamespaceException
- if a namespace prefix can not be resolvedpublic String getJCRPath(Path path) throws NamespaceException
getJCRPath
in interface PathResolver
path
- qualified path
NamespaceException
- if a namespace URI can not be resolved
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |