Class CurrentItemExpression

  • All Implemented Interfaces:
    java.io.Serializable, javax.xml.transform.SourceLocator, LocationProvider, SaxonLocator, InstructionInfo, org.xml.sax.Locator

    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
    • Constructor Detail

      • CurrentItemExpression

        public CurrentItemExpression()
    • Method Detail

      • getErrorCodeForUndefinedContext

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