Name

XPathFunction

Synopsis

This interface defines the invocation API for user-defined XPath functions. Arguments are passed to the evaluate( ) method as a java.util.List and the return value should be an Object. evaluate( ) may throw an XPathFunctionException. See also XPathFunctionResolver.

public interface XPathFunction {
// Public Instance Methods
     Object evaluate(java.util.List args) throws XPathFunctionException;  
}

Returned By

XPathFunctionResolver.resolveFunction( )

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.