com.smallx.xml.xslt.xt.xpath
Class KeyValuesTable

java.lang.Object
  extended bycom.smallx.xml.xslt.xt.xpath.KeyValuesTable
All Implemented Interfaces:
KeyValues

public class KeyValuesTable
extends java.lang.Object
implements KeyValues


Constructor Summary
KeyValuesTable(Pattern pattern, StringExpr valueExpr, Item n, ExprContext context)
           
 
Method Summary
 java.util.Iterator 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,
                      Item n,
                      ExprContext context)
               throws XPathException
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
context - an expression evaluation context for use in evaluating
Method Detail

get

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

Specified by:
get in interface KeyValues