Class XSLTFunction

java.lang.Object
org.exolab.adaptx.xpath.XPathFunction
org.exolab.adaptx.xslt.XSLTFunction
Direct Known Subclasses:
CurrentFunctionCall, DocumentFunctionCall, ExtensionFunctionCall, GenerateIDFunctionCall, RTF2NodeSetFunctionCall, SystemFunctionCall

public abstract class XSLTFunction extends XPathFunction
The base class for XSLT functions.
Version:
$Revision: 3633 $ $Date: 2003-03-01 08:38:44 +0100 (Sat, 01 Mar 2003) $
Author:
Keith Visco
  • Field Details

  • Constructor Details

    • XSLTFunction

      public XSLTFunction(String name)
      Creates a new XSLTFunction with the given name.
      Parameters:
      name - the function name.
  • Method Details

    • call

      public abstract XPathResult call(XPathContext context, XPathResult[] args) throws XPathException
      Invokes the function and returns the XPath result.
      Specified by:
      call in class XPathFunction
      Parameters:
      context - The XPath context
      params - A list of zero or more arguments
      Returns:
      An XPath result (not null)
      Throws:
      XPathException - An error occured while invoking this function
    • getNamespaceURI

      public String getNamespaceURI()
      Returns the namespace URI of this function.
      Specified by:
      getNamespaceURI in class XPathFunction
      Returns:
      The namespace URI of this function
    • getFunctionName

      public String getFunctionName()
      Returns the name of this function.
      Specified by:
      getFunctionName in class XPathFunction
      Returns:
      The name of this function