Package net.sf.saxon.expr
Class ContextItemExpression.ContextItemElaborator
java.lang.Object
net.sf.saxon.expr.elab.Elaborator
net.sf.saxon.expr.elab.ItemElaborator
net.sf.saxon.expr.ContextItemExpression.ContextItemElaborator
- Enclosing class:
ContextItemExpression
Elaborator for the context item expression, "dot".
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet a function that evaluates the underlying expression in the form of aItem
.Get a function that evaluates the underlying expression in the form of aSequenceIterator
Methods inherited from class net.sf.saxon.expr.elab.ItemElaborator
eagerly, elaborateForBoolean, elaborateForPush, elaborateForUnicodeString
Methods inherited from class net.sf.saxon.expr.elab.Elaborator
elaborateForString, elaborateForUpdate, getConfiguration, getExpression, handleNullString, handleNullUnicodeString, handlePossiblyNullString, handlePossiblyNullUnicodeString, lazily, setExpression
-
Constructor Details
-
ContextItemElaborator
public ContextItemElaborator()
-
-
Method Details
-
elaborateForItem
Description copied from class:Elaborator
Get a function that evaluates the underlying expression in the form of aItem
. This must only be called for expressions whose result has cardinality zero or one.- Specified by:
elaborateForItem
in classItemElaborator
- Returns:
- an evaluator for the expression that returns an
Item
, or null to represent an empty sequence.
-
elaborateForPull
Description copied from class:Elaborator
Get a function that evaluates the underlying expression in the form of aSequenceIterator
- Overrides:
elaborateForPull
in classItemElaborator
- Returns:
- an evaluator for the expression that returns a
SequenceIterator
-