public class SystemProperty extends SystemFunction implements XSLTFunction
operationargumentlocationId, staticPropertiesEVALUATE_METHOD, ITERATE_METHOD, PROCESS_METHOD| Constructor and Description |
|---|
SystemProperty() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkArguments(StaticContext env)
Method called during static type checking
|
Item |
evaluateItem(XPathContext context)
Evaluate the function at run-time
|
static java.lang.String |
getProperty(java.lang.String uri,
java.lang.String local,
Configuration config)
Here's the real code:
|
Expression |
preEvaluate(StaticContext env)
preEvaluate: this method performs compile-time evaluation
|
addContextDocumentArgument, computeCardinality, computeSpecialProperties, display, getDetails, getErrorCodeForTypeErrors, getItemType, getRequiredType, main, makeSystemFunction, setDetails, useContextItemAsDefaultcheckArgumentCount, getArguments, getDisplayName, getFunctionNameCode, getNumberOfArguments, iterateSubExpressions, optimize, promote, replaceSubExpression, setArguments, setFunctionNameCode, simplify, simplifyArguments, typeCheckadoptChildExpression, checkPermittedContents, computeDependencies, computeStaticProperties, doPromotion, dynamicError, effectiveBooleanValue, evaluateAsString, getCardinality, getColumnNumber, getConstructType, getDependencies, getExecutable, getHostLanguage, getImplementationMethod, getInstructionInfo, getIntrinsicDependencies, getLineNumber, getLocationId, getLocationProvider, getParentExpression, getPublicId, getSlotsUsed, getSpecialProperties, getSystemId, hasBadParentPointer, iterate, markTailFunctionCalls, process, resetStaticProperties, setLocationId, setParentExpression, setParentExpression, suppressValidation, typeErrorpublic void checkArguments(StaticContext env) throws XPathException
SystemFunctioncheckArguments in class SystemFunctionXPathExceptionpublic Expression preEvaluate(StaticContext env) throws XPathException
preEvaluate in class FunctionCallXPathExceptionpublic Item evaluateItem(XPathContext context) throws XPathException
evaluateItem in interface ExpressionevaluateItem in class ComputedExpressioncontext - The context in which the expression is to be evaluatedXPathException - if any dynamic error occurs evaluating the
expressionpublic static java.lang.String getProperty(java.lang.String uri,
java.lang.String local,
Configuration config)