public class InternalNamespaceUtils extends Object
| Constructor and Description |
|---|
InternalNamespaceUtils() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getIndexFromPotentialInvalidPattern(String namespaceUri,
NamespaceTable namespaceTable)
Returns the NamespaceIndex of the given NamespaceUri using the given
NamespaceTable
with if not found, but recognizes special patterns returned by
getUriOrUseInvalidPattern(int, NamespaceTable). |
static int |
getIndexFromPotentialInvalidPattern(UaNamespace namespace,
NamespaceTable namespaceTable)
Returns the NamespaceIndex of the given
UaNamespace using the given
NamespaceTable with if not found, but recognizes special patterns returned by
getUriOrUseInvalidPattern(int, NamespaceTable). |
static UaNamespace |
getNamespace(String namespaceUri,
NamespaceTable preLookupTable)
Like
UaNamespace.from(String), but first checks the given NamespaceTable for
existing UaNamespace instances. |
static UaNamespace |
getNamespaceOrUseInvalidPattern(int namespaceIndex,
NamespaceTable namespaceTable)
Returns
UaNamespace of the given NamespaceIndex based on the given
NamespaceTable or creates a special pattern that
getIndexFromPotentialInvalidPattern(String, NamespaceTable) can resolve back to the
same int as the one given as parameter here. |
static String |
getUriOrUseInvalidPattern(int namespaceIndex,
NamespaceTable namespaceTable)
Returns NamespaceUri of the given NamespaceIndex based on the given
NamespaceTable or
creates a special pattern that
getIndexFromPotentialInvalidPattern(String, NamespaceTable) can resolve back to the
same int as the one given as parameter here. |
public static int getIndexFromPotentialInvalidPattern(String namespaceUri, NamespaceTable namespaceTable) throws ServiceResultException
NamespaceTable
with if not found, but recognizes special patterns returned by
getUriOrUseInvalidPattern(int, NamespaceTable).ServiceResultException - if was not found and was not a special invalid uri pattern.public static int getIndexFromPotentialInvalidPattern(UaNamespace namespace, NamespaceTable namespaceTable) throws ServiceResultException
UaNamespace using the given
NamespaceTable with if not found, but recognizes special patterns returned by
getUriOrUseInvalidPattern(int, NamespaceTable).ServiceResultException - if was not found and was not a special invalid uri pattern.public static UaNamespace getNamespace(String namespaceUri, NamespaceTable preLookupTable)
UaNamespace.from(String), but first checks the given NamespaceTable for
existing UaNamespace instances. The UaNamespace instances are interned, this
method may perform better than just UaNamespace.from(String).public static UaNamespace getNamespaceOrUseInvalidPattern(int namespaceIndex, NamespaceTable namespaceTable)
UaNamespace of the given NamespaceIndex based on the given
NamespaceTable or creates a special pattern that
getIndexFromPotentialInvalidPattern(String, NamespaceTable) can resolve back to the
same int as the one given as parameter here.public static String getUriOrUseInvalidPattern(int namespaceIndex, NamespaceTable namespaceTable)
NamespaceTable or
creates a special pattern that
getIndexFromPotentialInvalidPattern(String, NamespaceTable) can resolve back to the
same int as the one given as parameter here.Copyright © 2026. All rights reserved.