Package org.jaxen.function.xslt
Class DocumentFunction
- java.lang.Object
-
- org.jaxen.function.xslt.DocumentFunction
-
- All Implemented Interfaces:
Function
public class DocumentFunction extends java.lang.Object implements Function
Implements the XSLT document() function- Author:
- James Strachan
-
-
Constructor Summary
Constructors Constructor Description DocumentFunction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectcall(Context context, java.util.List args)Evaluate this function.static java.lang.Objectevaluate(java.lang.String url, Navigator nav)
-
-
-
Method Detail
-
call
public java.lang.Object call(Context context, java.util.List args) throws FunctionCallException
Description copied from interface:FunctionEvaluate this function.- Specified by:
callin interfaceFunction- Parameters:
context- the context at the point in the expression when the function is calledargs- arguments provided to the function- Returns:
- the result of evaluating the function; a
List(node-set),Double,Boolean, orString - Throws:
FunctionCallException- if an XPath error occurs during evaluation; for instance, if the number or type of the arguments is incorrect
-
evaluate
public static java.lang.Object evaluate(java.lang.String url, Navigator nav) throws FunctionCallException- Throws:
FunctionCallException
-
-