java.io.Serializable, javax.xml.transform.SourceLocator, Container, Expression, InstructionInfoProviderpublic class Reverser extends UnaryExpression
locationId, staticPropertiesEVALUATE_METHOD, ITERATE_METHOD, PROCESS_METHODoperand| Constructor | Description |
|---|---|
Reverser(Expression base) |
| Modifier and Type | Method | Description |
|---|---|---|
int |
computeSpecialProperties() |
Get the static properties of this expression (other than its type).
|
protected java.lang.String |
displayOperator(Configuration config) |
Give a string representation of the operator for use in diagnostics
|
boolean |
effectiveBooleanValue(XPathContext context) |
Get the effective boolean value of the expression.
|
SequenceIterator |
iterate(XPathContext context) |
Return an Iterator to iterate over the values of a sequence.
|
Expression |
promote(PromotionOffer offer) |
Promote this expression if possible
|
adoptChildExpression, checkPermittedContents, computeDependencies, computeStaticProperties, doPromotion, dynamicError, evaluateAsString, evaluateItem, getCardinality, getColumnNumber, getConstructType, getDependencies, getExecutable, getHostLanguage, getImplementationMethod, getInstructionInfo, getIntrinsicDependencies, getLineNumber, getLocationId, getLocationProvider, getParentExpression, getPublicId, getSlotsUsed, getSpecialProperties, getSystemId, hasBadParentPointer, markTailFunctionCalls, process, resetStaticProperties, setLocationId, setParentExpression, setParentExpression, suppressValidation, typeErrorclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitcomputeCardinality, display, equals, getBaseExpression, getItemType, hashCode, iterateSubExpressions, optimize, replaceSubExpression, simplify, typeCheckpublic Reverser(Expression base)
public int computeSpecialProperties()
UnaryExpressioncomputeSpecialProperties in class UnaryExpressionpublic Expression promote(PromotionOffer offer) throws XPathException
promote in interface Expressionpromote in class UnaryExpressionoffer - 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 expressionXPathException - if any error is detectedpublic SequenceIterator iterate(XPathContext context) throws XPathException
ComputedExpressioniterate in interface Expressioniterate in class ComputedExpressioncontext - supplies the context for evaluationXPathException - if any dynamic error occurs evaluating the
expressionpublic boolean effectiveBooleanValue(XPathContext context) throws XPathException
ComputedExpressioneffectiveBooleanValue in interface ExpressioneffectiveBooleanValue in class ComputedExpressioncontext - The context in which the expression is to be evaluatedXPathException - if any dynamic error occurs evaluating the
expressionprotected java.lang.String displayOperator(Configuration config)
displayOperator in class UnaryExpressionconfig -