public class Trace extends SystemFunction
| Constructor and Description |
|---|
Trace() |
| Modifier and Type | Method and Description |
|---|---|
Sequence |
call(XPathContext context,
Sequence[] arguments)
Evaluate the expression
|
int |
getCardinality(Expression[] arguments)
Get the cardinality, given knowledge of the actual arguments
|
int |
getSpecialProperties(Expression[] arguments)
Get the static properties of this expression (other than its type).
|
TraceAdjunct |
getStreamingAdjunct()
Get a class that supports streamed evaluation of this expression
|
void |
notifyListener(String label,
Sequence val,
SourceLocator loc,
XPathContext context) |
static void |
traceItem(Item val,
String label,
Logger out) |
equals, export, exportAttributes, getArity, getContextNode, getDescription, getDetails, getErrorCodeForTypeErrors, getExpressionCompiler, getFunctionItemType, getFunctionName, getIntegerBounds, getOperandRoles, getRequiredType, getResultItemType, getResultItemType, getRetainedStaticContext, getStaticBaseUriString, importAttributes, makeCall, makeFunction, makeFunctionCall, makeOptimizedFunctionCall, resultIfEmpty, setArity, setDetails, setRetainedStaticContext, supplyTypeInformation, typeCheckCalleratomize, deepEquals, effectiveBooleanValue, getStringValue, getStringValueCS, isArray, isMap, optimize, simplify, typeCheckgetLength, head, itemAt, iterate, reduce, subsequenceclone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLength, head, itemAt, reduce, subsequencepublic int getSpecialProperties(Expression[] arguments)
getSpecialProperties in class SystemFunctionarguments - the actual argumentspublic int getCardinality(Expression[] arguments)
SystemFunctiongetCardinality in class SystemFunctionarguments - the actual arguments suppliedpublic void notifyListener(String label, Sequence val, SourceLocator loc, XPathContext context)
public Sequence call(XPathContext context, Sequence[] arguments) throws XPathException
context - the dynamic evaluation contextarguments - the values of the arguments, supplied as SequenceIteratorsXPathException - if a dynamic error occurs during the evaluation of the expressionpublic TraceAdjunct getStreamingAdjunct()
getStreamingAdjunct in class SystemFunctionCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.