org.jaxen.function.xslt
Class DocumentFunction
java.lang.Object
org.jaxen.function.xslt.DocumentFunction
- All Implemented Interfaces:
- Function
- public class DocumentFunction
- extends Object
- implements Function
Implements the XSLT document() function
- Author:
- James Strachan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DocumentFunction
public DocumentFunction()
call
public Object call(Context context,
List args)
throws FunctionCallException
- Description copied from interface:
Function
- Evaluate this function.
- Specified by:
call
in interface Function
- 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
, or
String
- Throws:
FunctionCallException
- if an XPath error occurs during evaluation;
for instance, if the number or type of the arguments is incorrect
evaluate
public static Object evaluate(String url,
Navigator nav)
throws FunctionCallException
- Throws:
FunctionCallException
Copyright © 2001-2007 Codehaus. All Rights Reserved.