-  
       
public interface XPathFunctionXPathFunction提供对XPath功能的访问。函数由XPath中的QName和arity标识。
- 从以下版本开始:
 - 1.5
 
 
-  
        
       
-  
             
方法详细信息
-  
evaluate
Object evaluate(List<?> args) throws XPathFunctionException
使用指定的参数评估函数。
在扩展函数的定义中,应尽可能避免副作用。 评估XPath表达式的实现没有义务以任何特定顺序或任何特定次数调用扩展函数。
- 参数
 -  
              
args- 参数null是有效值。 - 结果
 - 
               评估的结果 
              
XPath功能为Object。 - 异常
 -  
              
XPathFunctionException- Ifargscannot be evaluated with thisXPathfunction. 
 
 -  
 
 -