public class AccessorFn extends SystemFunctionCall
Modifier and Type | Field and Description |
---|---|
static int |
DAY |
static int |
HOURS |
static int |
LOCALNAME |
static int |
MICROSECONDS |
static int |
MINUTES |
static int |
MONTH |
static int |
NAMESPACE |
static int |
PREFIX |
static int |
SECONDS |
static int |
TIMEZONE |
static int |
WHOLE_SECONDS |
static int |
YEAR |
static int |
YEAR_ALLOWING_ZERO |
operation
argument
EFFECTIVE_BOOLEAN_VALUE, EVALUATE_METHOD, ITEM_FEED_METHOD, ITERATE_METHOD, locationId, MAX_SEQUENCE_LENGTH, MAX_STRING_LENGTH, PROCESS_METHOD, staticProperties, UNBOUNDED_LOWER, UNBOUNDED_UPPER, WATCH_METHOD
Constructor and Description |
---|
AccessorFn() |
Modifier and Type | Method and Description |
---|---|
AtomicValue |
call(XPathContext context,
Sequence[] arguments)
Evaluate the expression
|
Expression |
copy()
Copy an expression.
|
AtomicValue |
evaluateItem(XPathContext context)
Evaluate the expression
|
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
|
String |
getRequiredComponentAsString()
Get the required component name as a string
|
void |
setDetails(StandardFunction.Entry entry)
Set the details of this type of function
|
addContextDocumentArgument, addDocToPathMap, bindStaticContext, checkArguments, computeCardinality, computeSpecialProperties, equalOrNull, equals, getContextNode, getConvertingCallable, getDefaultArgumentNode, getDetails, getErrorCodeForTypeErrors, getFunctionItemType, getImplementationMethod, getItemType, getOperation, getRequiredType, makeSystemFunction, operands, optimize, toShortString, useContextItemAsDefault
addExternalFunctionCallToPathMap, checkArgumentCount, explain, getArguments, getDisplayName, getExpressionName, getFunctionName, getNumberOfArguments, hashCode, preEvaluate, promote, replaceOperand, setArguments, setFunctionName, simplifyArguments, toString, typeCheck
addToPathMap, adoptChildExpression, checkForUpdatingSubexpressions, checkPermittedContents, clearStreamabilityData, computeDependencies, computeStaticProperties, doPromotion, dynamicError, effectiveBooleanValue, evaluateAsString, evaluatePendingUpdates, explain, getCardinality, getColumnNumber, getConfiguration, getConstructType, getContainer, getDependencies, getEvaluationMethod, getHostLanguage, getIntrinsicDependencies, getLineNumber, getLocationId, getObjectName, getPosture, getProperties, getProperty, getPublicId, getSlotsUsed, getSpecialProperties, getStreamability, getStreamingAdjunct, getSweep, getSystemId, hasVariableBinding, identityHashCode, implementsStaticTypeCheck, isIdentical, isSubtreeExpression, isUpdatingExpression, isVacuousExpression, iterate, iterateEvents, makeStreamingAdjunct, markTailFunctionCalls, operandList, process, resetLocalStaticProperties, setContainer, setEvaluationMethod, setFiltered, setFlattened, setLocationId, setPostureAndSweep, simplify, staticTypeCheck, suppressValidation, toPattern, toStreamingPattern, typeError, unordered
public static final int YEAR
public static final int MONTH
public static final int DAY
public static final int HOURS
public static final int MINUTES
public static final int SECONDS
public static final int TIMEZONE
public static final int LOCALNAME
public static final int NAMESPACE
public static final int PREFIX
public static final int MICROSECONDS
public static final int WHOLE_SECONDS
public static final int YEAR_ALLOWING_ZERO
public void setDetails(StandardFunction.Entry entry)
setDetails
in class SystemFunctionCall
entry
- information giving details of the function signaturepublic IntegerValue[] getIntegerBounds()
getIntegerBounds
in class Expression
public int getRequiredComponent()
public String getRequiredComponentAsString()
public AtomicValue evaluateItem(XPathContext context) throws XPathException
evaluateItem
in class Expression
context
- The context in which the expression is to be evaluatedXPathException
- if any dynamic error occurs evaluating the
expressionpublic Expression copy()
copy
in class SystemFunctionCall
public AtomicValue call(XPathContext context, Sequence[] arguments) throws XPathException
context
- the dynamic evaluation contextarguments
- the values of the arguments, supplied as SequencesXPathException
- if a dynamic error occurs during the evaluation of the expressionpublic ExpressionCompiler getExpressionCompiler()
getExpressionCompiler
in class Expression
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.