Class Current

All Implemented Interfaces:
Serializable, SourceLocator, LocationProvider, SaxonLocator, InstructionInfo, Locator

public class Current extends CompileTimeFunction
Implement the XSLT current() function
See Also:
  • Field Details

    • FN_CURRENT

      public static final StructuredQName FN_CURRENT
      The name of the Current function
  • Constructor Details

    • Current

      public Current()
  • Method Details

    • computeSpecialProperties

      public int computeSpecialProperties()
      Get the static properties of this expression (other than its type). The result is bit-signficant. These properties are used for optimizations. In general, if property bit is set, it is true, but if it is unset, the value is unknown.
      Overrides:
      computeSpecialProperties in class SystemFunction
      Returns:
      the special properties, as a bit-significant integer
    • getIntrinsicDependencies

      public int getIntrinsicDependencies()
      Determine the dependencies
      Overrides:
      getIntrinsicDependencies in class Expression
      Returns:
      a set of bit-significant flags identifying the "intrinsic" dependencies. The flags are documented in class net.sf.saxon.value.StaticProperty