org.apache.xalan.transformer
Class KeyManager

java.lang.Object
  extended by org.apache.xalan.transformer.KeyManager

public class KeyManager
extends java.lang.Object

This class manages the key tables.


Field Summary
private  java.util.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 java.util.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