|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.saxon.expr.ComputedExpression | +--net.sf.saxon.expr.TypeExpression
TypeExpression: superclass for expressions involving a source expression and a type
Field Summary | |
protected Expression |
source
|
Fields inherited from class net.sf.saxon.expr.ComputedExpression |
lineNumber, NO_ARGUMENTS, staticProperties |
Constructor Summary | |
protected |
TypeExpression()
|
Method Summary | |
int |
computeCardinality()
Determine the static cardinality |
Expression[] |
getSubExpressions()
Get the immediate subexpressions of this expression |
Expression |
promote(PromotionOffer offer)
Promote this expression if possible |
Methods inherited from class net.sf.saxon.expr.ComputedExpression |
computeDependencies, computeSpecialProperties, computeStaticProperties, dynamicError, effectiveBooleanValue, evaluateAsString, evaluateItem, getCardinality, getDependencies, getIntrinsicDependencies, getLineNumber, getSourceLocator, getSpecialProperties, iterate, markTailFunctionCalls, setLineNumber, simplify, typeError |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.saxon.expr.Expression |
analyze, display, getItemType |
Field Detail |
protected Expression source
Constructor Detail |
protected TypeExpression()
Method Detail |
public Expression promote(PromotionOffer offer) throws XPathException
promote
in interface Expression
promote
in class ComputedExpression
offer
- details of the offer, for example the offer to move
expressions that don't depend on the context to an outer level in
the containing expression
XPathException
- if any error is detectedpublic Expression[] getSubExpressions()
getSubExpressions
in interface Expression
getSubExpressions
in class ComputedExpression
public int computeCardinality()
computeCardinality
in class ComputedExpression
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |