|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Immutable public interface Name
A qualified name consisting of a namespace and a local name.
Method Summary | |
---|---|
String |
getLocalName()
Get the local name part of this qualified name. |
String |
getNamespaceUri()
Get the URI for the namespace used in this qualified name. |
String |
getString()
Get the string form of the name. |
String |
getString(NamespaceRegistry namespaceRegistry)
Get the string form of the name, using the supplied namespace registry to convert the namespace URI to a prefix. |
String |
getString(NamespaceRegistry namespaceRegistry,
TextEncoder encoder)
Get the encoded string form of the name, using the supplied namespace registry to convert the namespace URI to a prefix. |
String |
getString(TextEncoder encoder)
Get the encoded string form of the name, using the supplied encoder to encode characters in the local name and namespace. |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
String getLocalName()
String getNamespaceUri()
String getString()
default encoder
is used to encode characters in the local
name and namespace.
getString(TextEncoder)
String getString(TextEncoder encoder)
encoder
- the encoder to use, or null if the default encoder
should be used
getString()
String getString(NamespaceRegistry namespaceRegistry)
namespace URI
to a prefix. The default encoder
is used to encode
characters in each of the path segments.
namespaceRegistry
- the namespace registry that should be used to obtain the prefix for the
namespace URI
IllegalArgumentException
- if the namespace registry is nullgetString(NamespaceRegistry,TextEncoder)
String getString(NamespaceRegistry namespaceRegistry, TextEncoder encoder)
namespace URI
to a prefix.
namespaceRegistry
- the namespace registry that should be used to obtain the prefix for the
namespace URI
encoder
- the encoder to use, or null if the default encoder
should be used
IllegalArgumentException
- if the namespace registry is nullgetString(NamespaceRegistry)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |