public class Trace extends SystemFunction
operation
argument
EVALUATE_METHOD, ITERATE_METHOD, locationId, PROCESS_METHOD, staticProperties
?????? |
---|
Trace() |
?????? | ????? |
---|---|
int |
computeCardinality()
Get the static cardinality
|
int |
computeSpecialProperties()
Get the static properties of this expression (other than its type).
|
Item |
evaluateItem(XPathContext context)
Evaluate the function
|
SequenceIterator |
iterate(XPathContext context)
Iterate over the results of the function
|
Expression |
preEvaluate(ExpressionVisitor visitor)
preEvaluate: this method suppresses compile-time evaluation by doing nothing
|
Expression |
simplify(ExpressionVisitor visitor)
Simplify the function call.
|
addContextDocumentArgument, addDocToPathMap, checkArguments, copy, getDetails, getErrorCodeForTypeErrors, getItemType, getRequiredType, makeSystemFunction, optimize, setDetails, useContextItemAsDefault
addExternalFunctionCallToPathMap, checkArgumentCount, equals, explain, getArguments, getDisplayName, getFunctionName, getNumberOfArguments, hashCode, iterateSubExpressions, promote, replaceSubExpression, setArguments, setFunctionName, simplifyArguments, toString, typeCheck
addToPathMap, adoptChildExpression, checkForUpdatingSubexpressions, checkPermittedContents, computeDependencies, computeStaticProperties, display, doPromotion, dynamicError, effectiveBooleanValue, evaluateAsString, 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, hasLoopingSubexpression, implementsStaticTypeCheck, isUpdatingExpression, iterateEvents, markTailFunctionCalls, process, resetLocalStaticProperties, setContainer, setFiltered, setFlattened, setLocationId, staticTypeCheck, suppressValidation, typeError
public Expression simplify(ExpressionVisitor visitor) throws XPathException
simplify
??? FunctionCall
visitor
- an expression visitorXPathException
- if an error is discovered during expression
rewritingpublic Expression preEvaluate(ExpressionVisitor visitor)
preEvaluate
??? FunctionCall
visitor
- an expression visitorpublic int computeSpecialProperties()
computeSpecialProperties
??? SystemFunction
public int computeCardinality()
computeCardinality
??? SystemFunction
StaticProperty.ALLOWS_ZERO_OR_ONE
,
StaticProperty.EXACTLY_ONE
, StaticProperty.ALLOWS_ONE_OR_MORE
,
StaticProperty.ALLOWS_ZERO_OR_MORE
public Item evaluateItem(XPathContext context) throws XPathException
evaluateItem
???? EvaluableItem
evaluateItem
??? Expression
context
- The context in which the expression is to be evaluatedXPathException
- if any dynamic error occurs evaluating the
expressionpublic SequenceIterator iterate(XPathContext context) throws XPathException
iterate
???? SequenceIterable
iterate
??? Expression
context
- supplies the context for evaluationXPathException
- if any dynamic error occurs evaluating the
expression