All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.kvisco.xsl.functions.ErrorFunctionCall

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

public class ErrorFunctionCall
extends FunctionCall
A function to allow invalid expr's to go unnoticed until called. Since XSL:P parses the expressions up front the FunctionCall is useful in saving error messages for a later invocation!

Author:
Keith Visco

Variable Index

 o ERROR_FN

Constructor Index

 o ErrorFunctionCall()
Creates a new ErrorFunctionCall

Method Index

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

Variables

 o ERROR_FN
 public static final String ERROR_FN

Constructors

 o ErrorFunctionCall
 public ErrorFunctionCall()
Creates a new ErrorFunctionCall

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 throw and InvalidExprException

 o setError
 public void setError(String error)

All Packages  Class Hierarchy  This Package  Previous  Next  Index