org.apache.xalan.extensions
Class XPathFunctionImpl
java.lang.Object
org.apache.xalan.extensions.XPathFunctionImpl
- All Implemented Interfaces:
- javax.xml.xpath.XPathFunction
public class XPathFunctionImpl
- extends java.lang.Object
- implements javax.xml.xpath.XPathFunction
A sample implementation of XPathFunction, with support for
EXSLT extension functions and Java extension functions.
Constructor Summary |
XPathFunctionImpl(ExtensionHandler handler,
java.lang.String funcName)
Construct an instance of XPathFunctionImpl from the
ExtensionHandler and function name. |
Method Summary |
java.lang.Object |
evaluate(java.util.List args)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XPathFunctionImpl
public XPathFunctionImpl(ExtensionHandler handler,
java.lang.String funcName)
- Construct an instance of XPathFunctionImpl from the
ExtensionHandler and function name.
evaluate
public java.lang.Object evaluate(java.util.List args)
throws javax.xml.xpath.XPathFunctionException
- Specified by:
evaluate
in interface javax.xml.xpath.XPathFunction
- Throws:
javax.xml.xpath.XPathFunctionException
- See Also:
XPathFunction.evaluate(java.util.List)
Copyright ? 2005 Apache XML Project. All Rights Reserved.