net.sf.saxon.expr

Class CurrentItemExpression

Implemented Interfaces:
EvaluableItem, InstructionInfoProvider, SequenceIterable, Serializable, SourceLocator

public class CurrentItemExpression
extends ContextItemExpression

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.

Field Summary

Fields inherited from class net.sf.saxon.expr.Expression

EVALUATE_METHOD, ITERATE_METHOD, PROCESS_METHOD, locationId, staticProperties

Method Summary

protected String
getErrorCodeForUndefinedContext()
Get the error code for use when there is no context item

Methods inherited from class net.sf.saxon.expr.ContextItemExpression

addToPathMap, computeCardinality, computeSpecialProperties, copy, equals, evaluateItem, explain, getErrorCodeForUndefinedContext, getIntrinsicDependencies, getItemType, hashCode, iterate, optimize, toString, typeCheck

Methods inherited from class net.sf.saxon.expr.Expression

addToPathMap, adoptChildExpression, checkPermittedContents, computeCardinality, computeDependencies, computeSpecialProperties, computeStaticProperties, copy, display, doPromotion, dynamicError, effectiveBooleanValue, evaluateAsString, evaluateItem, explain, explain, findParentOf, getCardinality, getColumnNumber, getConstructType, getContainer, getDependencies, getExecutable, getHostLanguage, getImplementationMethod, getInstructionInfo, getIntrinsicDependencies, getItemType, getLineNumber, getLocationId, getLocationProvider, getPublicId, getSlotsUsed, getSpecialProperties, getSystemId, hasLoopingSubexpression, implementsStaticTypeCheck, iterate, iterateEvents, iterateSubExpressions, markTailFunctionCalls, optimize, process, promote, replaceSubExpression, resetLocalStaticProperties, setContainer, setFiltered, setFlattened, setLocationId, simplify, staticTypeCheck, suppressValidation, toString, typeCheck, typeError

Method Details

getErrorCodeForUndefinedContext

protected String getErrorCodeForUndefinedContext()
Get the error code for use when there is no context item
Overrides:
getErrorCodeForUndefinedContext in interface ContextItemExpression
Returns:
the string "XTDE1360"