public interface XPathFunction
XPathFunction
提供XPath函数。
功能是通过XPath QName和数量确定。
Object evaluate(List args) throws XPathFunctionException
用指定的参数评估函数。
在最大程度上可能的,副作用应避免在扩展功能的定义。评价一个XPath表达式是没有义务在任何特定的顺序或任何特定次数呼叫分机功能下的实现。
args
的论点,
null
是一个有效值。
XPath
功能作为一个
Object
结果。
XPathFunctionException
-如果
args
不能与这
XPath
功能评价。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.