public interface NameResolver
Name objects.| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getJCRName(Name name)
Returns the qualified JCR name String for the given
Name object. |
Name |
getQName(java.lang.String name)
Returns the
Name for the given JCR name String. |
Name getQName(java.lang.String name) throws IllegalNameException, NamespaceException
Name for the given JCR name String.name - A JCR name String.Name object.IllegalNameException - if the JCR name format is invalidNamespaceException - if the namespace prefix can not be resolvedjava.lang.String getJCRName(Name name) throws NamespaceException
Name object.name - A Name object.prefix:localName or
localName in case of the empty namespace.NamespaceException - if the namespace URI can not be resolvedCopyright © 2010 - 2023 Adobe. All Rights Reserved