public interface DocumentInfo extends NodeInfo
This class should have been named Root; it is used not only for the root of a document, but also for the root of a result tree fragment, which is not constrained to contain a single top-level element.
Modifier and Type | Method and Description |
---|---|
Hashtable |
getKeyIndex(KeyManager keymanager,
int fingerprint)
Get the index for a given key
|
NamePool |
getNamePool()
Get the name pool used for the names in this document
|
String |
getUnparsedEntity(String name)
Get the unparsed entity with a given name
|
NodeInfo |
selectID(String id)
Get the element with a given ID, if any
|
void |
setKeyIndex(KeyManager keymanager,
int fingerprint,
Hashtable index)
Set the index for a given key
|
void |
setNamePool(NamePool pool)
Set the name pool used for all names in this document
|
compareOrder, copy, copyStringValue, generateId, getAttributeValue, getAttributeValue, getBaseURI, getDisplayName, getDocumentRoot, getEnumeration, getFingerprint, getLineNumber, getLocalName, getNameCode, getNodeType, getParent, getPrefix, getStringValue, getSystemId, getURI, hasChildNodes, isSameNodeInfo, outputNamespaceNodes
setSystemId
void setNamePool(NamePool pool)
NamePool getNamePool()
NodeInfo selectID(String id)
id
- the required ID valueHashtable getKeyIndex(KeyManager keymanager, int fingerprint)
keymanager
- The key manager managing this keyfingerprint
- The fingerprint of the name of the key (unique with the key manager)void setKeyIndex(KeyManager keymanager, int fingerprint, Hashtable index)
keymanager
- The key manager managing this keyfingerprint
- The fingerprint of the name of the key (unique with the key manager)index
- the index, in the form of a Hashtable that
maps the key value to a list of nodes having that key value