All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.kvisco.xsl.functions.SumFunctionCall

com.kvisco.xsl.functions.FunctionCall
   |
   +----com.kvisco.xsl.functions.SumFunctionCall

public class SumFunctionCall
extends FunctionCall
A class that represents the XSL Sum(Expr) function call

Author:
Keith Visco

Constructor Index

 o SumFunctionCall()
Creates a new SumFunctionCall

Method Index

 o computeSum(NodeSet)
 o evaluate(Node, ProcessorState)
Evalutes this FunctionCall using the given Node as the context.

Constructors

 o SumFunctionCall
 public SumFunctionCall()
Creates a new SumFunctionCall

Methods

 o evaluate
 public ExprResult evaluate(Node context,
                            ProcessorState ps) throws InvalidExprException
Evalutes this FunctionCall using the given Node as the context. This method will always return a NumberResult

 o computeSum
 public double computeSum(NodeSet nodeSet)

All Packages  Class Hierarchy  This Package  Previous  Next  Index