net.sf.saxon.expr
Class CurrentItemExpression

java.lang.Object
  extended bynet.sf.saxon.expr.ComputedExpression
      extended bynet.sf.saxon.expr.ContextItemExpression
          extended bynet.sf.saxon.expr.CurrentItemExpression
All Implemented Interfaces:
Container, Expression, InstructionInfoProvider, java.io.Serializable, javax.xml.transform.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.

See Also:
Serialized Form

Field Summary
 
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
CurrentItemExpression()
           
 
Method Summary
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CurrentItemExpression

public CurrentItemExpression()
Method Detail

getErrorCodeForUndefinedContext

protected java.lang.String getErrorCodeForUndefinedContext()
Overrides:
getErrorCodeForUndefinedContext in class ContextItemExpression