com.jclark.xsl.tr
Class SortNodeSetExpr

java.lang.Object
  extended by com.jclark.xsl.tr.SortNodeSetExpr
All Implemented Interfaces:
NodeSetExpr

public class SortNodeSetExpr
extends java.lang.Object
implements NodeSetExpr

sorts a node list before returning them from a nested expression


Constructor Summary
SortNodeSetExpr(NodeSetExpr expr, ComparatorTemplate comparatorTemplate)
           
 
Method Summary
 NodeIterator eval(Node node, ExprContext context)
          evaluate the expression with a contextNode and ExprContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SortNodeSetExpr

public SortNodeSetExpr(NodeSetExpr expr,
                       ComparatorTemplate comparatorTemplate)
Method Detail

eval

public NodeIterator eval(Node node,
                         ExprContext context)
                  throws XSLException
Description copied from interface: NodeSetExpr
evaluate the expression with a contextNode and ExprContext

Specified by:
eval in interface NodeSetExpr
Throws:
XSLException