Package net.sf.saxon.expr
Class CurrentItemExpression
- java.lang.Object
-
- net.sf.saxon.expr.ComputedExpression
-
- net.sf.saxon.expr.ContextItemExpression
-
- net.sf.saxon.expr.CurrentItemExpression
-
- All Implemented Interfaces:
java.io.Serializable
,javax.xml.transform.SourceLocator
,Container
,Expression
,InstructionInfoProvider
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.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class net.sf.saxon.expr.ContextItemExpression
itemType
-
Fields inherited from class net.sf.saxon.expr.ComputedExpression
locationId, staticProperties
-
Fields inherited from interface net.sf.saxon.expr.Expression
EVALUATE_METHOD, ITERATE_METHOD, PROCESS_METHOD
-
-
Constructor Summary
Constructors Constructor Description CurrentItemExpression()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
getErrorCodeForUndefinedContext()
-
Methods inherited from class net.sf.saxon.expr.ContextItemExpression
computeCardinality, computeSpecialProperties, copy, display, equals, evaluateItem, getIntrinsicDependencies, getItemType, hashCode, iterate, optimize, typeCheck
-
Methods inherited from class net.sf.saxon.expr.ComputedExpression
adoptChildExpression, checkPermittedContents, computeDependencies, computeStaticProperties, doPromotion, dynamicError, effectiveBooleanValue, evaluateAsString, getCardinality, getColumnNumber, getConstructType, getDependencies, getExecutable, getHostLanguage, getImplementationMethod, getInstructionInfo, getLineNumber, getLocationId, getLocationProvider, getParentExpression, getPublicId, getSlotsUsed, getSpecialProperties, getSystemId, hasBadParentPointer, iterateSubExpressions, markTailFunctionCalls, process, promote, replaceSubExpression, resetStaticProperties, setLocationId, setParentExpression, setParentExpression, simplify, suppressValidation, typeError
-
-
-
-
Method Detail
-
getErrorCodeForUndefinedContext
protected java.lang.String getErrorCodeForUndefinedContext()
- Overrides:
getErrorCodeForUndefinedContext
in classContextItemExpression
-
-