|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.spi.commons.conversion.DefaultNamePathResolver
public class DefaultNamePathResolver
DefaultNamePathResolver...
| Constructor Summary | |
|---|---|
DefaultNamePathResolver(NameResolver nResolver,
PathResolver pResolver)
|
|
DefaultNamePathResolver(NamespaceRegistry registry)
|
|
DefaultNamePathResolver(NamespaceResolver nsResolver)
|
|
DefaultNamePathResolver(NamespaceResolver nsResolver,
boolean enableCaching)
|
|
DefaultNamePathResolver(Session session)
|
|
| Method Summary | |
|---|---|
String |
getJCRName(Name name)
Returns the prefixed JCR name for the given qualified name. |
String |
getJCRPath(Path path)
Returns the prefixed JCR path for the given qualified path. |
Name |
getQName(String name)
Returns the qualified name for the given prefixed JCR name. |
Path |
getQPath(String path)
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 DefaultNamePathResolver(NamespaceResolver nsResolver)
public DefaultNamePathResolver(Session session)
public DefaultNamePathResolver(NamespaceRegistry registry)
public DefaultNamePathResolver(NamespaceResolver nsResolver,
boolean enableCaching)
public DefaultNamePathResolver(NameResolver nResolver,
PathResolver pResolver)
| Method Detail |
|---|
public Name getQName(String name)
throws IllegalNameException,
NamespaceException
NameResolver
getQName in interface NameResolvername - prefixed JCR name
IllegalNameException - if the JCR name format is invalid
NamespaceException - if the namespace prefix can not be resolved
public String getJCRName(Name name)
throws NamespaceException
NameResolver
getJCRName in interface NameResolvername - qualified name
NamespaceException - if the namespace URI can not be resolved
public Path getQPath(String path)
throws MalformedPathException,
IllegalNameException,
NamespaceException
PathResolver
getQPath in interface PathResolverpath - prefixed JCR path
MalformedPathException - if the JCR path format is invalid.
IllegalNameException - if any of the JCR names contained in the path are invalid.
NamespaceException - if a namespace prefix can not be resolved.
public String getJCRPath(Path path)
throws NamespaceException
PathResolver
getJCRPath in interface PathResolverpath - 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 | |||||||||