org.ucl.xpath.function
Class FnTrace
java.lang.Object
org.ucl.xpath.function.Function
org.ucl.xpath.function.FnTrace
- public class FnTrace
- extends Function
The input $value is returned, unchanged, as the result of the function. In addition,
the inputs $value, converted to an xs:string, and $label may be directed to a trace
data set. The location and format of the trace data set are implementation
dependent. The ordering of output from invocations of the fn:trace() function is
implementation dependent.
Constructor Summary |
FnTrace()
Constructor for FnTrace. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FnTrace
public FnTrace()
- Constructor for FnTrace.
evaluate
public ResultSequence evaluate(java.util.Collection args)
throws DynamicError
- Evaluate arguments.
- Specified by:
evaluate
in class Function
- Parameters:
args
- argument expressions.
- Returns:
- Result of evaluation.
- Throws:
DynamicError
- Dynamic error.
trace
public static ResultSequence trace(java.util.Collection args)
throws DynamicError
- Trace operation.
- Parameters:
args
- Result from the expressions evaluation.
- Returns:
- Result of fn:trace operation.
- Throws:
DynamicError
- Dynamic error.