java.io.Serializable
public class DiagnosticNamePool extends NamePool
NamePool.NamePoolLimitException
Modifier and Type | Field | Description |
---|---|---|
java.io.PrintStream |
printStream |
FP_MASK, MAX_PREFIXES_PER_URI, USER_DEFINED_MASK
Constructor | Description |
---|---|
DiagnosticNamePool() |
Modifier and Type | Method | 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, suggestPrefixForURI
public short allocateCodeForURI(java.lang.String uri)
NamePool
allocateCodeForURI
in class NamePool
uri
- 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)
NamePool
allocate
in class NamePool
prefix
- 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