public interface NameResolver
Name
objects.Name getQName(String name) throws IllegalNameException, javax.jcr.NamespaceException
Name
for the given JCR name String.name
- A JCR name String.Name
object.IllegalNameException
- if the JCR name format is invalidjavax.jcr.NamespaceException
- if the namespace prefix can not be resolvedString getJCRName(Name name) throws javax.jcr.NamespaceException
Name
object.name
- A Name
object.prefix:localName
or
localName
in case of the empty namespace.javax.jcr.NamespaceException
- if the namespace URI can not be resolvedCopyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.