Package org.exolab.adaptx.xslt.functions
Class ExtensionFunctionCall
- java.lang.Object
-
- org.exolab.adaptx.xpath.XPathFunction
-
- org.exolab.adaptx.xslt.XSLTFunction
-
- org.exolab.adaptx.xslt.functions.ExtensionFunctionCall
-
public class ExtensionFunctionCall extends XSLTFunction
A class for representing extension function calls- Version:
- $Revision: 3633 $ $Date: 2003-03-01 08:38:44 +0100 (Sat, 01 Mar 2003) $
- Author:
- Keith Visco
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
FUNCTION_NOT_DEFINED
-
Fields inherited from class org.exolab.adaptx.xslt.XSLTFunction
INVALID_NUMBER_PARAMS, XSLT_NAMESPACE
-
-
Constructor Summary
Constructors Constructor Description ExtensionFunctionCall(java.lang.String name, ProcessorState ps)
Creates a new ExtensionFunctionCall
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XPathResult
call(XPathContext context, XPathResult[] args)
Invokes the function and returns the XPath result.java.lang.String
getNameSpace()
Returns the namespace that this function call is in-
Methods inherited from class org.exolab.adaptx.xslt.XSLTFunction
getFunctionName, getNamespaceURI
-
Methods inherited from class org.exolab.adaptx.xpath.XPathFunction
call
-
-
-
-
Field Detail
-
FUNCTION_NOT_DEFINED
public static final java.lang.String FUNCTION_NOT_DEFINED
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ExtensionFunctionCall
public ExtensionFunctionCall(java.lang.String name, ProcessorState ps)
Creates a new ExtensionFunctionCall
-
-
Method Detail
-
call
public XPathResult call(XPathContext context, XPathResult[] args) throws XPathException
Invokes the function and returns the XPath result.- Specified by:
call
in classXSLTFunction
- 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
-
getNameSpace
public java.lang.String getNameSpace()
Returns the namespace that this function call is in
-
-