|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.icl.saxon.jdom.NodeWrapper com.icl.saxon.jdom.DocumentWrapper
The root node of an XPath tree. (Or equivalently, the tree itself).
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.
Field Summary | |
protected java.lang.String |
baseURI
|
protected java.util.Hashtable |
keyTable
|
protected NamePool |
namePool
|
Fields inherited from class com.icl.saxon.jdom.NodeWrapper |
docWrapper, index, node, nodeType, parent |
Fields inherited from interface com.icl.saxon.om.NodeInfo |
ATTRIBUTE, COMMENT, ELEMENT, NAMESPACE, NODE, NONE, NUMBER_OF_TYPES, PI, ROOT, TEXT |
Constructor Summary | |
DocumentWrapper(org.jdom.Document doc,
java.lang.String baseURI)
|
Method Summary | |
java.util.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 |
java.lang.String |
getUnparsedEntity(java.lang.String name)
Get the unparsed entity with a given name |
NodeInfo |
selectID(java.lang.String id)
Get the element with a given ID, if any |
void |
setKeyIndex(KeyManager keyManager,
int fingerprint,
java.util.Hashtable index)
Set the index for a given key |
void |
setNamePool(NamePool pool)
Set the name pool used for all names in this document |
Methods inherited from class com.icl.saxon.jdom.NodeWrapper |
compareOrder, copy, copyStringValue, generateId, getAttributeValue, getAttributeValue, getBaseURI, getDisplayName, getDocumentRoot, getEnumeration, getFingerprint, getLineNumber, getLocalName, getNameCode, getNode, getNodeType, getParent, getPrefix, getStringValue, getSystemId, getURI, hasChildNodes, isSameNodeInfo, makeWrapper, outputNamespaceNodes, setSystemId |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.icl.saxon.om.NodeInfo |
compareOrder, copy, copyStringValue, generateId, getAttributeValue, getAttributeValue, getBaseURI, getDisplayName, getDocumentRoot, getEnumeration, getFingerprint, getLineNumber, getLocalName, getNameCode, getNodeType, getParent, getPrefix, getStringValue, getSystemId, getURI, hasChildNodes, isSameNodeInfo, outputNamespaceNodes |
Methods inherited from interface javax.xml.transform.Source |
setSystemId |
Field Detail |
protected java.util.Hashtable keyTable
protected NamePool namePool
protected java.lang.String baseURI
Constructor Detail |
public DocumentWrapper(org.jdom.Document doc, java.lang.String baseURI)
Method Detail |
public void setNamePool(NamePool pool)
setNamePool
in interface DocumentInfo
public NamePool getNamePool()
getNamePool
in interface DocumentInfo
public NodeInfo selectID(java.lang.String id)
selectID
in interface DocumentInfo
id
- the required ID value
public java.util.Hashtable getKeyIndex(KeyManager keyManager, int fingerprint)
getKeyIndex
in interface DocumentInfo
fingerprint
- The fingerprint of the name of the key (unique with the key manager)keyManager
- The key manager managing this key
public void setKeyIndex(KeyManager keyManager, int fingerprint, java.util.Hashtable index)
setKeyIndex
in interface DocumentInfo
fingerprint
- 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 valuekeyManager
- The key manager managing this keypublic java.lang.String getUnparsedEntity(java.lang.String name)
getUnparsedEntity
in interface DocumentInfo
name
- the name of the entity
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |