public abstract class AccessorFn extends ScalarSystemFunction
ZERO_LENGTH_STRING
Constructor and Description |
---|
AccessorFn() |
Modifier and Type | Method and Description |
---|---|
AtomicValue |
evaluate(Item item,
XPathContext context)
Evaluate the expression
|
abstract AccessorFn.Component |
getComponentId() |
ExpressionCompiler |
getExpressionCompiler()
Return the compiler of the Component expression
|
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.
|
int |
getRequiredComponent()
Get the required component
|
call, makeFunctionCall, resultWhenEmpty
equals, export, exportAttributes, getArity, getCardinality, getContextNode, getDescription, getDetails, getErrorCodeForTypeErrors, getFunctionItemType, getFunctionName, getOperandRoles, getRequiredType, getResultItemType, getResultItemType, getRetainedStaticContext, getSpecialProperties, getStaticBaseUriString, getStreamingAdjunct, importAttributes, makeCall, makeFunction, 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 abstract AccessorFn.Component getComponentId()
public IntegerValue[] getIntegerBounds()
getIntegerBounds
in class SystemFunction
public int getRequiredComponent()
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 ExpressionCompiler getExpressionCompiler()
getExpressionCompiler
in class SystemFunction
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.