java.io.Serializable, javax.xml.transform.SourceLocator, LocationProvider, SaxonLocator, ContextMappingFunction, EvaluableItem, SequenceIterable, InstructionInfo, org.xml.sax.Locatorpublic final class AtomicMappingExpression extends SlashExpression implements ContextMappingFunction
EVALUATE_METHOD, ITERATE_METHOD, locationId, PROCESS_METHOD, staticProperties| Constructor | Description |
|---|---|
AtomicMappingExpression(Expression start,
Expression step) |
Constructor
|
| Modifier and Type | Method | 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
|
mapaddToPathMap, 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, typeErrorclone, finalize, getClass, notify, notifyAll, wait, wait, waitcomputeCardinality, computeDependencies, computeSpecialProperties, equals, getItemType, getStartExpression, getStepExpression, hashCode, hasLoopingSubexpression, iterateSubExpressions, makeSlashExpression, map, optimize, promote, promoteFocusIndependentSubexpressions, replaceSubExpression, setStartExpression, setStepExpression, simplifypublic 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 SlashExpressionpublic Expression typeCheck(ExpressionVisitor visitor, ItemType contextItemType)
typeCheck in class SlashExpressionvisitor - 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_TYPEpublic Expression copy()
copy in class SlashExpressionpublic SequenceIterator iterate(XPathContext context) throws XPathException
iterate in interface SequenceIterableiterate in class SlashExpressioncontext - the evaluation contextXPathException - if any dynamic error occurs evaluating the
expressionpublic void explain(ExpressionPresenter destination)
explain in class SlashExpressiondestination - the expression presenter used to display the structure