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, typeCheckCaller
atomize, deepEquals, effectiveBooleanValue, getStringValue, getStringValueCS, isArray, isMap, optimize, simplify, typeCheck
getLength, head, itemAt, iterate, reduce, subsequence
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLength, head, itemAt, reduce, subsequence
public int getSpecialProperties(Expression[] arguments)
getSpecialProperties
in class SystemFunction
arguments
- the actual argumentspublic int getCardinality(Expression[] arguments)
SystemFunction
getCardinality
in class SystemFunction
arguments
- 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 SystemFunction
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.