public final class GlobalParam extends GlobalVariable
references
body
Constructor and Description |
---|
GlobalParam() |
Modifier and Type | Method and Description |
---|---|
Sequence |
evaluateVariable(XPathContext context)
Evaluate the variable
|
Sequence |
evaluateVariable(XPathContext context,
Component target)
Evaluate the variable
|
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, getBinderySlotNumber, getComponentKind, getConfiguration, getConstructType, getContainerGranularity, getHostLanguage, getIntegerBoundsForVariable, getLocalSlotNumber, getObjectName, getOriginalVariable, getProperties, getProperty, getRequiredType, getSelectExpression, getSelectValue, getUltimateOriginalVariable, getVariableQName, init, isAssignable, isGlobal, isIndexedVariable, isPrivate, isRequiredParam, iterateReferences, lookForCycles, registerReference, setAssignable, setBinderySlotNumber, setContainsLocals, setDependencies, setIndexedVariable, setOriginalVariable, setPrivate, setRequiredParam, setRequiredType, setSelectExpression, setVariableQName, typeCheck
allocateAllBindingSlots, allocateBindingSlotsRecursive, getBody, getColumnNumber, getDeclaringComponent, getLineNumber, getLocationProvider, getPackageData, getPublicId, getStackFrameMap, getSystemId, makeDeclaringComponent, setBody, setHostLanguage, setLineNumber, setPackageData, setStackFrameMap, setSystemId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPackageData
getLineNumber, getSystemId
getColumnNumber, getPublicId
public void setImplicitlyRequiredParam(boolean requiredParam)
requiredParam
- true if this is a required parameterpublic boolean isImplicitlyRequiredParam()
public Sequence evaluateVariable(XPathContext context, Component target) throws XPathException
evaluateVariable
in class GlobalVariable
XPathException
public Sequence evaluateVariable(XPathContext context) throws XPathException
evaluateVariable
in interface Binding
evaluateVariable
in class GlobalVariable
context
- the XPath dynamic evaluation contextXPathException
- if an error occurs while evaluating
the variableCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.