public class DiagnosticNamePool extends NamePool
NamePool.NamePoolLimitException| Modifier and Type | Field and Description |
|---|---|
java.io.PrintStream |
printStream |
FP_MASK, MAX_PREFIXES_PER_URI, USER_DEFINED_MASK| Constructor and Description |
|---|
DiagnosticNamePool() |
| Modifier and Type | Method and Description |
|---|---|
int |
allocate(java.lang.String prefix,
java.lang.String uri,
java.lang.String localName)
Allocate a name from the pool, or a new Name if there is not a matching one there
|
short |
allocateCodeForURI(java.lang.String uri)
Allocate the uri code for a given URI; create one if not found
|
allocateClarkName, allocateLexicalQName, diagnosticDump, getClarkName, getClientData, getCodeForURI, getDisplayName, getEQName, getFingerprint, getLocalName, getNamespaceBinding, getPrefix, getStructuredQName, getURI, getURICode, getURIFromURICode, isPrefixed, parseClarkName, setClientData, statistics, suggestPrefixForURIpublic short allocateCodeForURI(java.lang.String uri)
NamePoolallocateCodeForURI in class NamePooluri - The namespace URI. Supply "" or null for the "null namespace"public int allocate(java.lang.String prefix,
java.lang.String uri,
java.lang.String localName)
NamePoolallocate in class NamePoolprefix - the namespace prefix. Use "" for the null prefix, representing the absent namespaceuri - the namespace URI. Use "" or null for the non-namespace.localName - the local part of the name