org.exolab.adaptx.xslt.functions
Class CurrentFunctionCall

java.lang.Object
  |
  +--org.exolab.adaptx.xpath.XPathFunction
        |
        +--org.exolab.adaptx.xslt.XSLTFunction
              |
              +--org.exolab.adaptx.xslt.functions.CurrentFunctionCall

public class CurrentFunctionCall
extends XSLTFunction

A class that represents the XSLT current() function call

Version:
$Revision: 1.1.1.1 $ $Date: 2003/03/01 07:39:55 $
Author:
Keith Visco

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

Constructor Detail

CurrentFunctionCall

public CurrentFunctionCall(ProcessorState ps)
Creates a new current() 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
Returns:
An XPath result (not null)
Throws:
XPathException - An error occured while invoking this function