public abstract class AccessorFn extends ScalarSystemFunction
Constructor and Description |
---|
AccessorFn() |
Modifier and Type | Method and Description |
---|---|
AtomicValue |
evaluate(Item item,
XPathContext context)
Evaluate the expression
|
java.lang.String |
getCompilerName()
Get the (local) name of a class that can be used to generate bytecode for this
system function
|
abstract AccessorFn.Component |
getComponentId() |
IntegerValue[] |
getIntegerBounds()
For an expression that returns an integer or a sequence of integers, get
a lower and upper bound on the values of the integers that may be returned, from
static analysis.
|
call, makeFunctionCall, resultWhenEmpty
dependsOnContextItem, dynamicCall, equals, export, exportAdditionalArguments, exportAttributes, fixArguments, getArity, getCardinality, getContextNode, getDescription, getDetails, getErrorCodeForTypeErrors, getFunctionItemType, getFunctionName, getNetCost, getOperandRoles, getRequiredType, getResultItemType, getResultItemType, getRetainedStaticContext, getSpecialProperties, getStaticBaseUriString, getStreamerName, getUniStringArg, hashCode, importAttributes, isSequenceVariadic, isTrustedResultType, makeCall, makeFunction, makeOptimizedFunctionCall, resultIfEmpty, setArity, setDetails, setRetainedStaticContext, supplyTypeInformation, toShortString, toString, typeCheckCaller
atomize, deepEquals, effectiveBooleanValue, getAnnotations, getUnicodeStringValue, isArray, isMap, makeNewContext, simplify, typeCheck
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getLength, getStringValue, head, isStreamed, itemAt, iterate, reduce, subsequence
asIterable, concatenate, containsNode, materialize
makeRepeatable
public abstract AccessorFn.Component getComponentId()
public IntegerValue[] getIntegerBounds()
getIntegerBounds
in class SystemFunction
public AtomicValue evaluate(Item item, XPathContext context) throws XPathException
evaluate
in class ScalarSystemFunction
item
- the supplied argumentcontext
- the dynamic contextXPathException
- if a dynamic error occurspublic java.lang.String getCompilerName()
SystemFunction
getCompilerName
in class SystemFunction
Copyright (c) 2004-2022 Saxonica Limited. All rights reserved.