Class BaseUri_1

All Implemented Interfaces:
Callable, Function, GroundedValue, Item, Sequence

public class BaseUri_1 extends SystemFunction implements Callable
This class implements the fn:base-uri() function in XPath 2.0
  • Constructor Details

    • BaseUri_1

      public BaseUri_1()
  • Method Details

    • call

      public ZeroOrOne call(XPathContext context, Sequence[] arguments) throws XPathException
      Description copied from interface: Function
      Invoke the function
      Specified by:
      call in interface Callable
      Specified by:
      call in interface Function
      Parameters:
      context - the XPath dynamic evaluation context
      arguments - the actual arguments to be supplied
      Returns:
      the result of invoking the function
      Throws:
      XPathException - if a dynamic error occurs within the function
    • getCompilerName

      public String getCompilerName()
      Description copied from class: SystemFunction
      Get the (local) name of a class that can be used to generate bytecode for this system function
      Overrides:
      getCompilerName in class SystemFunction
      Returns:
      the name of a bytecode generation class, or null if there is no bytecode support for this function