|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.name.CachingNameResolver
public class CachingNameResolver
Name resolver decorator that uses a generational cache to speed up parsing and formatting of JCR names. Uncached names are resolved using the underlying decorated name resolver.
| Constructor Summary | |
|---|---|
CachingNameResolver(NameResolver resolver)
Deprecated. Creates a caching decorator for the given name resolver. |
|
CachingNameResolver(NameResolver resolver,
org.apache.jackrabbit.name.GenerationalCache cache)
Deprecated. Creates a caching decorator for the given name resolver. |
|
| Method Summary | |
|---|---|
String |
getJCRName(QName qname)
Deprecated. Returns the prefixed JCR name for the given qualified name. |
QName |
getQName(String name)
Deprecated. Returns the qualified name for the given prefixed JCR name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CachingNameResolver(NameResolver resolver,
org.apache.jackrabbit.name.GenerationalCache cache)
resolver - decorated name resolvercache - generational cachepublic CachingNameResolver(NameResolver resolver)
resolver - name resolver| Method Detail |
|---|
public QName getQName(String name)
throws NameException,
NamespaceException
getQName in interface NameResolvername - prefixed JCR name
NameException - if the JCR name format is invalid
NamespaceException - if the namespace prefix can not be resolved
public String getJCRName(QName qname)
throws NamespaceException
getJCRName in interface NameResolverqname - qualified name
NamespaceException - if the namespace URI can not be resolved
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||