Package net.sf.saxon.expr
Class CurrentItemExpression
java.lang.Object
net.sf.saxon.expr.Expression
net.sf.saxon.expr.ContextItemExpression
net.sf.saxon.expr.CurrentItemExpression
- All Implemented Interfaces:
Serializable
,SourceLocator
,LocationProvider
,SaxonLocator
,EvaluableItem
,SequenceIterable
,InstructionInfo
,Locator
The expression is generated when compiling the current() function in XSLT. It differs from
the ContextItemExpression "." only in the error code that is returned when there is no context item.
- See Also:
-
Field Summary
Fields inherited from class net.sf.saxon.expr.Expression
EVALUATE_METHOD, ITERATE_METHOD, locationId, PROCESS_METHOD, staticProperties
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
Get the error code for use when there is no context itemMethods inherited from class net.sf.saxon.expr.ContextItemExpression
addToPathMap, computeCardinality, computeSpecialProperties, copy, equals, evaluateItem, explain, getIntrinsicDependencies, getItemType, hashCode, iterate, optimize, toString, typeCheck
Methods inherited from class net.sf.saxon.expr.Expression
adoptChildExpression, checkForUpdatingSubexpressions, checkPermittedContents, computeDependencies, computeStaticProperties, display, doPromotion, dynamicError, effectiveBooleanValue, evaluateAsString, evaluatePendingUpdates, explain, findParentOf, getCardinality, getColumnNumber, getColumnNumber, getConstructType, getContainer, getDependencies, getExecutable, getHostLanguage, getImplementationMethod, getLineNumber, getLineNumber, getLocationId, getLocationProvider, getObjectName, getProperties, getProperty, getPublicId, getSlotsUsed, getSpecialProperties, getSystemId, getSystemId, hasLoopingSubexpression, implementsStaticTypeCheck, isUpdatingExpression, iterateEvents, iterateSubExpressions, markTailFunctionCalls, process, promote, replaceSubExpression, resetLocalStaticProperties, setContainer, setFiltered, setFlattened, setLocationId, simplify, staticTypeCheck, suppressValidation, typeError
-
Constructor Details
-
CurrentItemExpression
public CurrentItemExpression()
-
-
Method Details
-
getErrorCodeForUndefinedContext
Get the error code for use when there is no context item- Overrides:
getErrorCodeForUndefinedContext
in classContextItemExpression
- Returns:
- the string "XTDE1360"
-