Package org.exolab.adaptx.xslt.functions
Class DocumentFunctionCall
- java.lang.Object
-
- org.exolab.adaptx.xpath.XPathFunction
-
- org.exolab.adaptx.xslt.XSLTFunction
-
- org.exolab.adaptx.xslt.functions.DocumentFunctionCall
-
public class DocumentFunctionCall extends XSLTFunction
A class that represents the XSL document() function call- Version:
- $Revision: 3915 $ $Date: 2003-09-29 21:31:49 +0200 (Mon, 29 Sep 2003) $
- Author:
- Keith Visco
-
-
Field Summary
-
Fields inherited from class org.exolab.adaptx.xslt.XSLTFunction
INVALID_NUMBER_PARAMS, XSLT_NAMESPACE
-
-
Constructor Summary
Constructors Constructor Description DocumentFunctionCall(ProcessorState ps)
Creates a new Document() Function Call
-
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.-
Methods inherited from class org.exolab.adaptx.xslt.XSLTFunction
getFunctionName, getNamespaceURI
-
Methods inherited from class org.exolab.adaptx.xpath.XPathFunction
call
-
-
-
-
Constructor Detail
-
DocumentFunctionCall
public DocumentFunctionCall(ProcessorState ps)
Creates a new Document() Function Call
-
-
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
-
-