All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.kvisco.xsl.functions.NumberFunctionCall

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

public class NumberFunctionCall
extends FunctionCall
A class that represents the following FunctionCalls:
number(); floor(); round(); ceiling();

Author:
Keith Visco

Variable Index

 o CEILING
 o FLOOR
 o NUMBER
 o ROUND

Constructor Index

 o NumberFunctionCall()
Creates a new NumberFunctionCall
 o NumberFunctionCall(short)
Creates a new NumberFunctionCall using the given type

Method Index

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

Variables

 o NUMBER
 public static final short NUMBER
 o ROUND
 public static final short ROUND
 o FLOOR
 public static final short FLOOR
 o CEILING
 public static final short CEILING

Constructors

 o NumberFunctionCall
 public NumberFunctionCall()
Creates a new NumberFunctionCall

 o NumberFunctionCall
 public NumberFunctionCall(short type)
Creates a new NumberFunctionCall using the given type

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


All Packages  Class Hierarchy  This Package  Previous  Next  Index