org.apache.xalan.extensions
Class XPathFunctionImpl

java.lang.Object
  extended by org.apache.xalan.extensions.XPathFunctionImpl
All Implemented Interfaces:
XPathFunction

public class XPathFunctionImpl
extends Object
implements XPathFunction

A sample implementation of XPathFunction, with support for EXSLT extension functions and Java extension functions.


Constructor Summary
XPathFunctionImpl(ExtensionHandler handler, String funcName)
          Construct an instance of XPathFunctionImpl from the ExtensionHandler and function name.
 
Method Summary
 Object evaluate(List args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XPathFunctionImpl

public XPathFunctionImpl(ExtensionHandler handler,
                         String funcName)
Construct an instance of XPathFunctionImpl from the ExtensionHandler and function name.

Method Detail

evaluate

public Object evaluate(List args)
                throws XPathFunctionException
Specified by:
evaluate in interface XPathFunction
Throws:
XPathFunctionException
See Also:
XPathFunction.evaluate(java.util.List)


Copyright ? 2006 Apache XML Project. All Rights Reserved.