org.apache.xalan.transformer
Class KeyManager
java.lang.Object
org.apache.xalan.transformer.KeyManager
- public class KeyManager
- extends Object
This class manages the key tables.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_key_tables
private transient Vector m_key_tables
- Table of tables of element keys.
- See Also:
KeyTable
KeyManager
public KeyManager()
getNodeSetDTMByKey
public XNodeSet getNodeSetDTMByKey(XPathContext xctxt,
int doc,
QName name,
XMLString ref,
PrefixResolver nscontext)
throws javax.xml.transform.TransformerException
- Given a valid element key, return the corresponding node list.
- Parameters:
xctxt
- The XPath runtime statedoc
- The document nodename
- The key element nameref
- The key value we're looking fornscontext
- The prefix resolver for the execution context
- Returns:
- A nodelist of nodes mathing the given key
- Throws:
javax.xml.transform.TransformerException