org.apache.xalan.transformer
Class KeyTable
java.lang.Object
org.apache.xalan.transformer.KeyTable
public class KeyTable
extends java.lang.Object
Table of element keys, keyed by document node. An instance of this
class is keyed by a Document node that should be matched with the
root of the current context.
getDocKey
public int getDocKey()
Get the document root matching this key.
- the document root matching this key
getKeyTableName
public QName getKeyTableName()
Get Key Name for this KeyTable
- Key name
getNodeSetDTMByKey
public XNodeSet getNodeSetDTMByKey(QName name,
XMLString ref)
Given a valid element key, return the corresponding node list.
name
- The name of the key, which must match the 'name' attribute on xsl:key.ref
- The value that must match the value found by the 'match' attribute on xsl:key.
- a set of nodes referenced by the key named
name
and the reference ref
. If no node is referenced by this key, an empty node set is returned.
Copyright B) 2004 Apache XML Project. All Rights Reserved.