com.jclark.xsl.expr

Class KeyValuesTable

public class KeyValuesTable extends 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
NodeIteratorget(String keyValue)
return a nodelist of the nodes with the "use" value which matches the supplied argument

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(String keyValue)
return a nodelist of the nodes with the "use" value which matches the supplied argument