Package net.sf.saxon.expr
Class SubscriptExpression.SubscriptExprElaborator
- java.lang.Object
-
- net.sf.saxon.expr.elab.Elaborator
-
- net.sf.saxon.expr.elab.ItemElaborator
-
- net.sf.saxon.expr.SubscriptExpression.SubscriptExprElaborator
-
- Enclosing class:
- SubscriptExpression
public static class SubscriptExpression.SubscriptExprElaborator extends ItemElaborator
An elaborator for a "subscript" expression, typically written asX[$n]
where$n
is an integer or a numeric expression.
-
-
Constructor Summary
Constructors Constructor Description SubscriptExprElaborator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ItemEvaluator
elaborateForItem()
Get a function that evaluates the underlying expression in the form of aItem
.-
Methods inherited from class net.sf.saxon.expr.elab.ItemElaborator
eagerly, elaborateForBoolean, elaborateForPull, elaborateForPush, elaborateForUnicodeString
-
Methods inherited from class net.sf.saxon.expr.elab.Elaborator
elaborateForString, elaborateForUpdate, getConfiguration, getExpression, handleNullString, handleNullUnicodeString, handlePossiblyNullString, handlePossiblyNullUnicodeString, lazily, setExpression
-
-
-
-
Method Detail
-
elaborateForItem
public ItemEvaluator 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.
-
-