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

    Constructors
    Constructor and Description
    `XPathFunctionImpl(ExtensionHandler handler, java.lang.String funcName)` Construct an instance of XPathFunctionImpl from the ExtensionHandler and function name.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Object` | `evaluate(java.util.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,
                                   java.lang.String funcName)

      Construct an instance of XPathFunctionImpl from the ExtensionHandler and function name.

  - ### Method Detail

    - #### 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 © 2023 Apache XML Project. All Rights Reserved.