java.io.Serializable
, javax.xml.transform.SourceLocator
, Container
, Expression
, InstructionInfoProvider
public class LazyExpression extends UnaryExpression
locationId, staticProperties
EVALUATE_METHOD, ITERATE_METHOD, PROCESS_METHOD
operand
Modifier and Type | Method | Description |
---|---|---|
protected java.lang.String |
displayOperator(Configuration config) |
Give a string representation of the operator for use in diagnostics
|
Item |
evaluateItem(XPathContext context) |
Evaluate an expression as a single item.
|
SequenceIterator |
iterate(XPathContext context) |
Return an Iterator to iterate over the values of a sequence.
|
static Expression |
makeLazyExpression(Expression operand) |
|
void |
process(XPathContext context) |
Process the instruction, without returning any tail calls
|
adoptChildExpression, checkPermittedContents, computeDependencies, computeStaticProperties, doPromotion, dynamicError, effectiveBooleanValue, evaluateAsString, getCardinality, getColumnNumber, getConstructType, getDependencies, getExecutable, getHostLanguage, getImplementationMethod, getInstructionInfo, getIntrinsicDependencies, getLineNumber, getLocationId, getLocationProvider, getParentExpression, getPublicId, getSlotsUsed, getSpecialProperties, getSystemId, hasBadParentPointer, markTailFunctionCalls, resetStaticProperties, setLocationId, setParentExpression, setParentExpression, suppressValidation, typeError
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
computeCardinality, computeSpecialProperties, display, equals, getBaseExpression, getItemType, hashCode, iterateSubExpressions, optimize, promote, replaceSubExpression, simplify, typeCheck
public static Expression makeLazyExpression(Expression operand)
public Item evaluateItem(XPathContext context) throws XPathException
evaluateItem
in interface Expression
evaluateItem
in class ComputedExpression
context
- The context in which the expression is to be evaluatedXPathException
- if any dynamic error occurs evaluating the
expressionpublic SequenceIterator iterate(XPathContext context) throws XPathException
iterate
in interface Expression
iterate
in class ComputedExpression
context
- supplies the context for evaluationXPathException
- if any dynamic error occurs evaluating the
expressionpublic void process(XPathContext context) throws XPathException
process
in interface Expression
process
in class ComputedExpression
context
- The dynamic context, giving access to the current node,
the current variables, etc.XPathException
protected java.lang.String displayOperator(Configuration config)
UnaryExpression
displayOperator
in class UnaryExpression