com.novell.xsl.functions
Class xsltKey

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

public class xsltKey
extends Function

An implementation of the XSLT key() function


Constructor Summary
xsltKey()
          Construct an object for the current() function
 
Method Summary
 ExpressionValue invoke(Object[] args)
          Perform key() 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

xsltKey

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

Method Detail

invoke

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

Overrides:
invoke in class Function
Parameters:
args - List of arguments. First argument is the context node Second argument is the expression context Third argument is a string Fourth argument is an object
Returns:
A node-set containing nodes that match the key the current node
Throws:
XPathEvaluationException

toString

public String toString()
Return function name.

Returns:
Function name.