com.novell.xsl.functions
Class xsltFunctionAvailable

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

public class xsltFunctionAvailable
extends Function


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

xsltFunctionAvailable

public xsltFunctionAvailable()
Construct an object for the function-available() function

Method Detail

invoke

public ExpressionValue invoke(Object[] args)
                       throws XPathEvaluationException
Perform function-available() 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 The third argument is a string, giving the QName of the function to check
Returns:
The boolean value true if the function is available, false otherwise
Throws:
XPathEvaluationException

toString

public String toString()
Return function name.

Returns:
Function name.