org.exolab.adaptx.xslt.functions
Class RTF2NodeSetFunctionCall

java.lang.Object
  extended by org.exolab.adaptx.xpath.XPathFunction
      extended by org.exolab.adaptx.xslt.XSLTFunction
          extended by org.exolab.adaptx.xslt.functions.RTF2NodeSetFunctionCall

public class RTF2NodeSetFunctionCall
extends XSLTFunction

A class that represents an XSL:P extension function which allows converting an XSLT result-tree-fragment into a NodeSet.

Version:
$Revision: 3633 $ $Date: 2003-03-01 02:38:44 -0500 (Sat, 01 Mar 2003) $
Author:
Keith Visco

Field Summary
 
Fields inherited from class org.exolab.adaptx.xslt.XSLTFunction
INVALID_NUMBER_PARAMS, XSLT_NAMESPACE
 
Constructor Summary
RTF2NodeSetFunctionCall(ProcessorState ps)
          Creates a new rtf-2-nodeset() Function Call
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RTF2NodeSetFunctionCall

public RTF2NodeSetFunctionCall(ProcessorState ps)
Creates a new rtf-2-nodeset() 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 class XSLTFunction
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