com.icl.saxon.expr
public final class AttributeValueTemplate extends Expression
Method Summary | |
---|---|
void | display(int level)
Diagnostic print of expression structure |
Value | evaluate(Context context)
Evaluate an AVT. |
String | evaluateAsString(Context context)
Evaluate an expression as a String. |
int | getDataType()
Determine the data type of the expression, if possible |
int | getDependencies()
Determine which aspects of the context the expression depends on. |
static Expression | make(String avt, StaticContext env)
Static factory method to create an AVT from an XSL string representation |
Expression | reduce(int dependencies, Context context)
Perform a partial evaluation of the expression, by eliminating specified dependencies
on the context. |
Expression | simplify()
Simplify an expression. |
Parameters: context The context in which the AVT is to be evaluated
Returns: the value of the AVT, evaluated in the current context
Parameters: context The context in which the expression is to be evaluated
Returns: the value of the expression, evaluated in the current context
Returns: Value.STRING
Parameters: dependencies The dependencies to be removed context The context to be used for the partial evaluation
Returns: a new expression that does not have any of the specified dependencies
Returns: the simplified expression