com.icl.saxon.functions

Class Lang

public class Lang extends Function

Method Summary
Valueevaluate(Context c)
Evaluate in a general context
booleanevaluateAsBoolean(Context c)
Evaluate the function in a boolean context
intgetDataType()
Determine the data type of the expression
intgetDependencies()
Determine the dependencies
StringgetName()
Function name (for diagnostics)
Expressionreduce(int dep, Context c)
Reduce the dependencies
Expressionsimplify()
Simplify and validate.

Method Detail

evaluate

public Value evaluate(Context c)
Evaluate in a general context

evaluateAsBoolean

public boolean evaluateAsBoolean(Context c)
Evaluate the function in a boolean context

getDataType

public int getDataType()
Determine the data type of the expression

Returns: Value.BOOLEAN

getDependencies

public int getDependencies()
Determine the dependencies

getName

public String getName()
Function name (for diagnostics)

reduce

public Expression reduce(int dep, Context c)
Reduce the dependencies

simplify

public Expression simplify()
Simplify and validate.