com.jclark.xsl.expr
Class KeyValuesTable

java.lang.Object
  |
  +--com.jclark.xsl.expr.KeyValuesTable

public class KeyValuesTable
extends java.lang.Object

all the nodes which have been indexed for a given document in a given named key ... part of the implementation of xsl:key


Constructor Summary
KeyValuesTable(Pattern pattern, StringExpr valueExpr, Node n, ExprContext context)
           
 
Method Summary
 NodeIterator get(java.lang.String keyValue)
          return a nodelist of the nodes with the "use" value which matches the supplied argument
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyValuesTable

public KeyValuesTable(Pattern pattern,
                      StringExpr valueExpr,
                      Node n,
                      ExprContext context)
Parameters:
pattern - the key's match pattern
valueExpr - the expression we'll evaluate against each matched node to find its "value" (the key we use for lookup)
n - a node in the document we're indexing
ExprContext - an expression evaluation context for use in evaluating
Method Detail

get

public NodeIterator get(java.lang.String keyValue)
return a nodelist of the nodes with the "use" value which matches the supplied argument