org.apache.xalan.transformer
Class KeyManager

java.lang.Object
  extended byorg.apache.xalan.transformer.KeyManager

public class KeyManager
extends Object

This class manages the key tables.


Field Summary
private  Vector m_key_tables
          Table of tables of element keys.
 
Constructor Summary
KeyManager()
           
 
Method Summary
 XNodeSet getNodeSetDTMByKey(XPathContext xctxt, int doc, QName name, XMLString ref, PrefixResolver nscontext)
          Given a valid element key, return the corresponding node list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_key_tables

private transient Vector m_key_tables
Table of tables of element keys.

See Also:
KeyTable
Constructor Detail

KeyManager

public KeyManager()
Method Detail

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 state
doc - The document node
name - The key element name
ref - The key value we're looking for
nscontext - The prefix resolver for the execution context
Returns:
A nodelist of nodes mathing the given key
Throws:
javax.xml.transform.TransformerException