public class SortKeyDefinitionList extends PseudoExpression implements Iterable<SortKeyDefinition>
EFFECTIVE_BOOLEAN_VALUE, EVALUATE_METHOD, ITEM_FEED_METHOD, ITERATE_METHOD, MAX_SEQUENCE_LENGTH, MAX_STRING_LENGTH, PROCESS_METHOD, staticProperties, UNBOUNDED_LOWER, UNBOUNDED_UPPER, UPDATE_METHOD, WATCH_METHOD| Constructor and Description |
|---|
SortKeyDefinitionList(SortKeyDefinition[] sortKeyDefinitions)
Create a list of sort key definitions
|
| Modifier and Type | Method and Description |
|---|---|
SortKeyDefinitionList |
copy(RebindingMap rebindings)
Copy this pseudo-expression
|
void |
export(ExpressionPresenter out)
Diagnostic print of expression structure.
|
int |
getImplementationMethod()
An implementation of Expression must provide at least one of the methods evaluateItem(), iterate(), or process().
|
SortKeyDefinition |
getSortKeyDefinition(int i)
Get the i'th sort key definition, counting from zero
|
boolean |
isLiftable()
Ask whether the expression can be lifted out of a loop, assuming it has no dependencies
on the controlling variable/focus of the loop
|
Iterator<SortKeyDefinition> |
iterator()
Get an iterator over the sort key definitions
|
Iterable<Operand> |
operands()
Get the operands of this SortKeyDefinitionList, treating it as a pseudo-expression.
|
int |
size()
Ask how many sort key definitions there are
|
computeCardinality, effectiveBooleanValue, evaluateAsString, evaluateItem, getItemType, iterate, processaddToPathMap, adoptChildExpression, allowExtractingCommonSubexpressions, checkedOperands, checkForUpdatingSubexpressions, checkPermittedContents, computeDependencies, computeSpecialProperties, computeStaticProperties, dynamicError, evaluatePendingUpdates, explain, getCardinality, getConfiguration, getConstructType, getCost, getDependencies, getEvaluationMethod, getExpressionName, getExtraProperty, getIntegerBounds, getInterpretedExpression, getIntrinsicDependencies, getLocalRetainedStaticContext, getLocation, getNetCost, getObjectName, getPackageData, getParentExpression, getProperties, getProperty, getRetainedStaticContext, getScopingExpression, getSlotsUsed, getSpecialProperties, getStaticBaseURI, getStaticBaseURIString, getStaticUType, getStreamerName, hasVariableBinding, identityHashCode, implementsStaticTypeCheck, isCallOn, isCallOnSystemFunction, isIdentical, isInstruction, isMultiThreaded, isStaticPropertiesKnown, isSubtreeExpression, isUpdatingExpression, isVacuousExpression, markTailFunctionCalls, operandList, operandSparseList, optimize, optimizeChildren, resetLocalStaticProperties, restoreParentPointers, setEvaluationMethod, setExtraProperty, setFiltered, setFlattened, setLocation, setParentExpression, setRetainedStaticContext, setRetainedStaticContextLocally, setRetainedStaticContextThoroughly, setStaticProperty, simplify, simplifyChildren, staticTypeCheck, suppressValidation, toPattern, toShortString, toString, typeCheck, typeCheckChildren, typeError, unordered, verifyParentPointers, verifyParentPointersclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic SortKeyDefinitionList(SortKeyDefinition[] sortKeyDefinitions)
sortKeyDefinitions - the sort key definitions, supplied as an arraypublic Iterable<Operand> operands()
operands in class Expressionpublic boolean isLiftable()
isLiftable in class Expressionpublic int size()
public SortKeyDefinition getSortKeyDefinition(int i)
i - the index of the required sort key definitionpublic Iterator<SortKeyDefinition> iterator()
iterator in interface Iterable<SortKeyDefinition>public SortKeyDefinitionList copy(RebindingMap rebindings)
copy in class Expressionrebindings - public int getImplementationMethod()
getImplementationMethod in class PseudoExpressionExpression.ITERATE_METHOD or Expression.EVALUATE_METHOD or
Expression.PROCESS_METHODpublic void export(ExpressionPresenter out) throws XPathException
Expressionexport in class Expressionout - the expression presenter used to display the structureXPathException - if the export fails, for example if an expression is found that won't work
in the target environment.Copyright (c) 2004-2017 Saxonica Limited. All rights reserved.