public class NamePart extends SystemFunction
?????? | ????? |
---|---|
static int |
DOCUMENT_URI |
static int |
GENERATE_ID |
static int |
LOCAL_NAME |
static int |
NAME |
static int |
NAMESPACE_URI |
static int |
NODE_NAME |
operation
argument
EVALUATE_METHOD, ITERATE_METHOD, locationId, PROCESS_METHOD, staticProperties
?????? |
---|
NamePart() |
?????? | ????? |
---|---|
int |
computeSpecialProperties()
Determine the special properties of this expression.
|
Item |
evaluateItem(XPathContext c)
Evaluate the function in a string context
|
static boolean |
isGenerateIdFunction(Expression exp)
Test whether an expression is a call on the generate-id() function
|
Expression |
simplify(ExpressionVisitor visitor)
Simplify and validate.
|
addContextDocumentArgument, addDocToPathMap, checkArguments, computeCardinality, copy, 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 NAME
public static final int LOCAL_NAME
public static final int NAMESPACE_URI
public static final int GENERATE_ID
public static final int DOCUMENT_URI
public static final int NODE_NAME
public Expression simplify(ExpressionVisitor visitor) throws XPathException
simplify
??? FunctionCall
visitor
- an expression visitorXPathException
- if an error is discovered during expression
rewritingpublic int computeSpecialProperties()
computeSpecialProperties
??? SystemFunction
public Item evaluateItem(XPathContext c) throws XPathException
evaluateItem
???? EvaluableItem
evaluateItem
??? Expression
c
- The context in which the expression is to be evaluatedXPathException
- if any dynamic error occurs evaluating the
expressionpublic static boolean isGenerateIdFunction(Expression exp)
exp
- the expression to be tested