Class FuncExtFunctionAvailable

All Implemented Interfaces:
Serializable, SourceLocator, ExpressionNode, ExpressionOwner, XPathVisitable

public class FuncExtFunctionAvailable extends FunctionOneArg
Execute the ExtFunctionAvailable() function.
See Also:
  • Constructor Details

    • FuncExtFunctionAvailable

      public FuncExtFunctionAvailable()
  • Method Details

    • execute

      public XObject execute(XPathContext xctxt) throws TransformerException
      Execute the function. The function must return a valid object.
      Overrides:
      execute in class Function
      Parameters:
      xctxt - The current execution context.
      Returns:
      A valid XObject.
      Throws:
      TransformerException
    • setFunctionTable

      public void setFunctionTable(FunctionTable aTable)
      The function table is an instance field. In order to access this instance field during evaluation, this method is called at compilation time to insert function table information for later usage. It should only be used during compiling of XPath expressions.
      Parameters:
      aTable - an instance of the function table