|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.name.CachingPathResolver
public class CachingPathResolver
Path resolver decorator that uses a generational cache to speed up parsing and formatting of JCR paths. Uncached paths are resolved using the underlying decorated path resolver.
Constructor Summary | |
---|---|
CachingPathResolver(PathResolver resolver)
Deprecated. Creates a caching decorator for the given path resolver. |
|
CachingPathResolver(PathResolver resolver,
org.apache.jackrabbit.name.GenerationalCache cache)
Deprecated. Creates a caching decorator for the given path resolver. |
Method Summary | |
---|---|
String |
getJCRPath(Path qpath)
Deprecated. Returns the prefixed JCR path for the given qualified path. |
Path |
getQPath(String path)
Deprecated. Returns the qualified path for the given prefixed JCR path. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CachingPathResolver(PathResolver resolver, org.apache.jackrabbit.name.GenerationalCache cache)
resolver
- decorated path resolvercache
- generational cachepublic CachingPathResolver(PathResolver 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 qpath) throws NamespaceException
getJCRPath
in interface PathResolver
qpath
- 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 |