com.novell.xsl.functions
Class xsltCurrent

java.lang.Object
  extended bycom.novell.xml.xpath.Function
      extended bycom.novell.xsl.functions.xsltCurrent

public class xsltCurrent
extends Function

An implementation of the XSLT current() function


Constructor Summary
xsltCurrent()
          Construct an object for the current() function
 
Method Summary
 ExpressionValue invoke(Object[] args)
          Perform current() function
 String toString()
          Return function name.
 
Methods inherited from class com.novell.xml.xpath.Function
getInstance, getSignature, isConstant, registerForReset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

xsltCurrent

public xsltCurrent()
Construct an object for the current() function

Method Detail

invoke

public ExpressionValue invoke(Object[] args)
                       throws XPathEvaluationException
Perform current() function

Overrides:
invoke in class Function
Parameters:
args - List of arguments. First first argument must be the context node. The second argument must be the expression context object
Returns:
A node-set containing the current node
Throws:
XPathEvaluationException

toString

public String toString()
Return function name.

Returns:
Function name.