Package org.exolab.adaptx.xslt
Class XSLTFunction
java.lang.Object
org.exolab.adaptx.xpath.XPathFunction
org.exolab.adaptx.xslt.XSLTFunction
- Direct Known Subclasses:
CurrentFunctionCall
,DocumentFunctionCall
,ExtensionFunctionCall
,GenerateIDFunctionCall
,RTF2NodeSetFunctionCall
,SystemFunctionCall
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract XPathResult
call
(XPathContext context, XPathResult[] args) Invokes the function and returns the XPath result.Returns the name of this function.Returns the namespace URI of this function.Methods inherited from class org.exolab.adaptx.xpath.XPathFunction
call
-
Field Details
-
XSLT_NAMESPACE
The current (and ever changing) XSLT namespace- See Also:
-
INVALID_NUMBER_PARAMS
- See Also:
-
-
Constructor Details
-
XSLTFunction
Creates a new XSLTFunction with the given name.- Parameters:
name
- the function name.
-
-
Method Details
-
call
Invokes the function and returns the XPath result.- Specified by:
call
in classXPathFunction
- Parameters:
context
- The XPath contextparams
- A list of zero or more arguments- Returns:
- An XPath result (not null)
- Throws:
XPathException
- An error occured while invoking this function
-
getNamespaceURI
Returns the namespace URI of this function.- Specified by:
getNamespaceURI
in classXPathFunction
- Returns:
- The namespace URI of this function
-
getFunctionName
Returns the name of this function.- Specified by:
getFunctionName
in classXPathFunction
- Returns:
- The name of this function
-