public final class GlobalParam extends GlobalVariable
referencesbody| Constructor and Description |
|---|
GlobalParam() |
| Modifier and Type | Method and Description |
|---|---|
Sequence |
evaluateVariable(XPathContext context)
Evaluate the variable
|
Sequence |
evaluateVariable(XPathContext context,
Component<GlobalVariable> target)
Evaluate the variable
|
protected String |
getFlags() |
boolean |
isImplicitlyRequiredParam()
Ask whether this variable represents a required parameter
|
void |
setImplicitlyRequiredParam(boolean requiredParam)
Indicate that this parameter is implicitly required, because the default value does not match the type
|
actuallyEvaluate, addReference, compile, export, getBinderySlotNumber, getComponentKind, getConstructType, getHostLanguage, getIntegerBoundsForVariable, getLocalSlotNumber, getObjectName, getOriginalVariable, getProperties, getProperty, getRequiredType, getSelectExpression, getSelectValue, getSymbolicName, getUltimateOriginalVariable, getVariableQName, init, isAssignable, isGlobal, isIndexedVariable, isPrivate, isRequiredParam, isUnused, iterateReferences, lookForCycles, registerReference, setAssignable, setBinderySlotNumber, setContainsLocals, setDependencies, setIndexedVariable, setOriginalVariable, setPrivate, setRequiredParam, setRequiredType, setSelectExpression, setUnused, setVariableQName, typeCheckallocateAllBindingSlots, allocateBindingSlotsRecursive, getBody, getColumnNumber, getDeclaredVisibility, getDeclaringComponent, getLineNumber, getLocation, getPackageData, getPublicId, getRetainedStaticContext, getStackFrameMap, getSystemId, makeDeclaringComponent, saveLocation, setBody, setDeclaredVisibility, setDeclaringComponent, setLineNumber, setPackageData, setRetainedStaticContext, setStackFrameMap, setSystemIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetColumnNumber, getLineNumber, getPublicId, getSystemId, saveLocationpublic void setImplicitlyRequiredParam(boolean requiredParam)
requiredParam - true if this is a required parameterpublic boolean isImplicitlyRequiredParam()
public Sequence evaluateVariable(XPathContext context, Component<GlobalVariable> target) throws XPathException
evaluateVariable in class GlobalVariableXPathExceptionpublic Sequence evaluateVariable(XPathContext context) throws XPathException
evaluateVariable in interface BindingevaluateVariable in class GlobalVariablecontext - the XPath dynamic evaluation contextXPathException - if an error occurs while evaluating
the variableprotected String getFlags()
getFlags in class GlobalVariableCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.