public final class QualifiedName extends Object
| Modifier and Type | Field and Description |
|---|---|
static QualifiedName |
NULL_VALUE |
| Constructor and Description |
|---|
QualifiedName(int namespaceIndex,
@Nullable String name)
The name part of the QualifiedName is restricted to 512 characters.
|
QualifiedName(@NotNull UShort namespaceIndex,
@Nullable String name)
The name part of the QualifiedName is restricted to 512 characters.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
@Nullable String |
getName() |
UShort |
getNamespaceIndex() |
int |
hashCode() |
boolean |
isNotNull() |
boolean |
isNull() |
static QualifiedName |
parse(String s) |
QualifiedName |
reindex(NamespaceTable namespaceTable,
String namespaceUri)
Re-index this
QualifiedName from its current namespace index to the index for namespaceUri. |
String |
toParseableString() |
String |
toString() |
QualifiedName |
withName(@Nullable String name)
Return a new
QualifiedName with name. |
QualifiedName |
withNamespaceIndex(@NotNull UShort namespaceIndex)
Return a new
QualifiedName with namespaceIndex. |
public static final QualifiedName NULL_VALUE
public QualifiedName(int namespaceIndex,
@Nullable
@Nullable String name)
namespaceIndex - index that identifies the namespace that defines the name. This index is the index of that
namespace in the local Server’s NamespaceArray.name - the text portion of the QualifiedName.public QualifiedName(@NotNull
@NotNull UShort namespaceIndex,
@Nullable
@Nullable String name)
namespaceIndex - index that identifies the namespace that defines the name. This index is the index of that
namespace in the local Server’s NamespaceArray.name - the text portion of the QualifiedName.public UShort getNamespaceIndex()
@Nullable public @Nullable String getName()
public boolean isNull()
public boolean isNotNull()
public QualifiedName reindex(NamespaceTable namespaceTable, String namespaceUri)
QualifiedName from its current namespace index to the index for namespaceUri.
If the target namespace URI is not present in the namespace table this QualifiedName is returned.
namespaceTable - the NamespaceTable.namespaceUri - the target namespace URI.QualifiedName in the namespace index indicated by namespaceUri.public QualifiedName withName(@Nullable @Nullable String name)
QualifiedName with name.name - the new name.QualifiedName with name.public QualifiedName withNamespaceIndex(@NotNull @NotNull UShort namespaceIndex)
QualifiedName with namespaceIndex.namespaceIndex - thew new namespace index.QualifiedName with namespaceIndex.public String toParseableString()
public static QualifiedName parse(String s)
Copyright © 2025. All rights reserved.