|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.saxon.expr.TreatExpression
public abstract class TreatExpression
Treat Expression: implements "treat as data-type ( expression )". This is a factory class only.
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Expression make(Expression sequence, SequenceType type)
sequence
- the expression whose result is to be checkedtype
- the type against which the result is to be checked
public static Expression make(Expression sequence, SequenceType type, String errorCode)
sequence
- the expression whose result is to be checkedtype
- the type against which the result is to be checkederrorCode
- the error code to be returned if the check fails
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |