public class Component extends SystemFunction
?????? | ????? |
---|---|
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
EVALUATE_METHOD, ITERATE_METHOD, locationId, PROCESS_METHOD, staticProperties
?????? |
---|
Component() |
?????? | ????? |
---|---|
Expression |
copy()
Copy an expression.
|
Item |
evaluateItem(XPathContext context)
Evaluate the expression
|
int |
getRequiredComponent()
Get the required component
|
java.lang.String |
getRequiredComponentAsString()
Get the required component name as a string
|
Expression |
simplify(ExpressionVisitor visitor)
Simplify the function call.
|
addContextDocumentArgument, addDocToPathMap, checkArguments, computeCardinality, computeSpecialProperties, getDetails, getErrorCodeForTypeErrors, getItemType, getRequiredType, makeSystemFunction, optimize, setDetails, useContextItemAsDefault
addExternalFunctionCallToPathMap, checkArgumentCount, equals, explain, getArguments, getDisplayName, getFunctionName, getNumberOfArguments, hashCode, iterateSubExpressions, preEvaluate, promote, replaceSubExpression, setArguments, setFunctionName, simplifyArguments, toString, typeCheck
addToPathMap, adoptChildExpression, checkForUpdatingSubexpressions, checkPermittedContents, computeDependencies, computeStaticProperties, display, doPromotion, dynamicError, effectiveBooleanValue, evaluateAsString, evaluatePendingUpdates, explain, findParentOf, getCardinality, getColumnNumber, getColumnNumber, getConstructType, getContainer, getDependencies, getExecutable, getHostLanguage, getImplementationMethod, getIntrinsicDependencies, getLineNumber, getLineNumber, getLocationId, getLocationProvider, getObjectName, getProperties, getProperty, getPublicId, getSlotsUsed, getSpecialProperties, getSystemId, getSystemId, hasLoopingSubexpression, implementsStaticTypeCheck, isUpdatingExpression, iterate, iterateEvents, markTailFunctionCalls, process, resetLocalStaticProperties, setContainer, setFiltered, setFlattened, setLocationId, staticTypeCheck, suppressValidation, typeError
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 Expression simplify(ExpressionVisitor visitor) throws XPathException
FunctionCall
simplify
??? FunctionCall
visitor
- an expression visitorXPathException
- if an error is discovered during expression
rewritingpublic int getRequiredComponent()
public java.lang.String getRequiredComponentAsString()
public Item evaluateItem(XPathContext context) throws XPathException
evaluateItem
???? EvaluableItem
evaluateItem
??? Expression
context
- The context in which the expression is to be evaluatedXPathException
- if any dynamic error occurs evaluating the
expressionpublic Expression copy()
copy
??? SystemFunction