| Constructor and Description |
|---|
SystemProperty() |
| Modifier and Type | Method and Description |
|---|---|
StringValue |
call(XPathContext context,
Sequence[] arguments)
Evaluate the function call
|
static java.lang.String |
getProperty(java.lang.String uri,
java.lang.String local,
RetainedStaticContext rsc)
Here's the real code:
|
Expression |
makeOptimizedFunctionCall(ExpressionVisitor visitor,
ContextItemStaticInfo contextInfo,
Expression... arguments)
Allow the function to create an optimized call based on the values of the actual arguments
|
static java.lang.String |
yesOrNo(boolean whatever) |
dependsOnContextItem, dynamicCall, equals, export, exportAdditionalArguments, exportAttributes, fixArguments, getArity, getCardinality, getCompilerName, getContextNode, getDescription, getDetails, getErrorCodeForTypeErrors, getFunctionItemType, getFunctionName, getIntegerBounds, getNetCost, getOperandRoles, getRequiredType, getResultItemType, getResultItemType, getRetainedStaticContext, getSpecialProperties, getStaticBaseUriString, getStreamerName, importAttributes, isTrustedResultType, makeCall, makeFunction, makeFunctionCall, resultIfEmpty, setArity, setDetails, setRetainedStaticContext, supplyTypeInformation, toShortString, toString, typeCheckCalleratomize, deepEquals, effectiveBooleanValue, getAnnotations, getStringValue, getStringValueCS, isArray, isMap, makeNewContext, simplify, typeCheckclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitargumentArray, getGenregetLength, head, isStreamed, itemAt, iterate, iterator, reduce, subsequence, toGroundedValueasIterable, materializemakeRepeatablepublic Expression makeOptimizedFunctionCall(ExpressionVisitor visitor, ContextItemStaticInfo contextInfo, Expression... arguments) throws XPathException
makeOptimizedFunctionCall in class SystemFunctionvisitor - the expression visitorcontextInfo - information about the context itemarguments - the supplied arguments to the function call. Note: modifying the contents
of this array should not be attempted, it is likely to have no effect.XPathException - if an error is detectedpublic StringValue call(XPathContext context, Sequence[] arguments) throws XPathException
call in interface Callablecall in interface Functioncontext - the dynamic evaluation contextarguments - the values of the arguments, supplied as SequenceIteratorsXPathException - if a dynamic error occurs during the evaluation of the expressionpublic static java.lang.String yesOrNo(boolean whatever)
public static java.lang.String getProperty(java.lang.String uri,
java.lang.String local,
RetainedStaticContext rsc)
uri - the namespace URI of the system property namelocal - the local part of the system property namersc - context informationCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.