net.sf.saxon.expr
public abstract class TreatExpression extends Object
Method Summary | |
---|---|
static Expression | make(Expression sequence, SequenceType type)
Make a treat expression with error code XPDY0050 |
static Expression | make(Expression sequence, SequenceType type, String errorCode)
Make a treat expression with a non-standard error code |
Parameters: sequence the expression whose result is to be checked type the type against which the result is to be checked
Returns: the expression
Parameters: sequence the expression whose result is to be checked type the type against which the result is to be checked errorCode the error code to be returned if the check fails
Returns: the expression