net.sf.saxon.expr
public final class AtomicMappingExpression extends SlashExpression implements ContextMappingFunction
EVALUATE_METHOD, ITERATE_METHOD, locationId, PROCESS_METHOD, staticProperties
Constructor and Description |
---|
AtomicMappingExpression(Expression start,
Expression step)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Expression |
copy()
Copy an expression.
|
void |
explain(ExpressionPresenter destination)
Diagnostic print of expression structure.
|
boolean |
isHybrid()
Determine whether this expression is capable (as far as static analysis is concerned)
of returning a mixture of nodes and atomic values.
|
SequenceIterator |
iterate(XPathContext context)
Iterate the path-expression in a given context
|
Expression |
typeCheck(ExpressionVisitor visitor,
ItemType contextItemType)
Type-check the expression
|
computeCardinality, computeDependencies, computeSpecialProperties, equals, getItemType, getStartExpression, getStepExpression, hashCode, hasLoopingSubexpression, iterateSubExpressions, makeSlashExpression, map, optimize, promote, promoteFocusIndependentSubexpressions, replaceSubExpression, setStartExpression, setStepExpression, simplify
addToPathMap, adoptChildExpression, checkForUpdatingSubexpressions, checkPermittedContents, computeStaticProperties, display, doPromotion, dynamicError, effectiveBooleanValue, evaluateAsString, evaluateItem, evaluatePendingUpdates, explain, findParentOf, getCardinality, getColumnNumber, getColumnNumber, getConstructType, getContainer, getDependencies, getExecutable, getHostLanguage, getImplementationMethod, getIntrinsicDependencies, getLineNumber, getLineNumber, getLocationId, getLocationProvider, getObjectName, getProperties, getProperty, getPublicId, getSlotsUsed, getSpecialProperties, getSystemId, getSystemId, implementsStaticTypeCheck, isUpdatingExpression, iterateEvents, markTailFunctionCalls, process, resetLocalStaticProperties, setContainer, setFiltered, setFlattened, setLocationId, staticTypeCheck, suppressValidation, toString, typeError
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
map
public AtomicMappingExpression(Expression start, Expression step)
start
- A node-set expression denoting the absolute or relative set of nodes from which the
navigation path should start.step
- The step to be followed from each node in the start expression to yield a new
node-setpublic boolean isHybrid()
isHybrid
in class SlashExpression
public Expression typeCheck(ExpressionVisitor visitor, ItemType contextItemType)
typeCheck
in class SlashExpression
visitor
- an expression visitorcontextItemType
- the static type of "." at the point where this expression is invoked.
The parameter is set to null if it is known statically that the context item will be undefined.
If the type of the context item is not known statically, the argument is set to
Type.ITEM_TYPE
public Expression copy()
copy
in class SlashExpression
public SequenceIterator iterate(XPathContext context) throws XPathException
iterate
in interface SequenceIterable
iterate
in class SlashExpression
context
- the evaluation contextXPathException
- if any dynamic error occurs evaluating the
expressionpublic void explain(ExpressionPresenter destination)
explain
in class SlashExpression
destination
- the expression presenter used to display the structure