Package org.jaxen.function.xslt
Class DocumentFunction
java.lang.Object
org.jaxen.function.xslt.DocumentFunction
- All Implemented Interfaces:
Function
Implements the XSLT document() function
- Author:
- James Strachan
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DocumentFunction
public DocumentFunction()
-
-
Method Details
-
call
Description copied from interface:Function
Evaluate this function.- Specified by:
call
in 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
-