Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Interface XPathFunction

public interface XPathFunction

Interface to an XPath function implementation. Functions that require the XPath context should also implement XPathFunctionWithContext.

Note: Once JET moves to Java 1.5 or later only, this interface will be migrated to javax.xml.xpath.XPathFunction

Method Summary
 java.lang.Object evaluate (java.util.List args)
          Evaluate the function with given the arguments.

Method Detail


java.lang.Object evaluate(java.util.List args)
Evaluate the function with given the arguments. The types of arguments should be one of
  • NodeSet representing a result of an XPath path expression
  • Double representing a numeric value
  • String representing a string value
  • Boolean representing a logical value
  • Parameters:
    args - a non-null List of arguments.
    the function result
    XPathRuntimeException - if the function cannot be evaluated successfully.

    Copyright 2006 IBM Corporation and others.
    All Rights Reserved.

      Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire