public interface NameResolver
Name
objects.Modifier and Type | Method and Description |
---|---|
String |
getJCRName(Name name)
Returns the qualified JCR name String for the given
Name object. |
Name |
getQName(String name)
Returns the
Name for the given JCR name String. |
Name getQName(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 resolvedString 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 © 2004–2024 The Apache Software Foundation. All rights reserved.