public interface GlobalVariableManager
Modifier and Type | Method and Description |
---|---|
void |
addGlobalVariable(GlobalVariable variable)
Add a global variable to the collection
|
GlobalVariable |
getEquivalentVariable(Expression select)
Get an existing global variable whose initializer is a given expression,
if there is one.
|
GlobalVariable getEquivalentVariable(Expression select)
void addGlobalVariable(GlobalVariable variable) throws XPathException
variable
- the variable to be addedXPathException
- if errors occur (some implementations of the method have side-effects,
such as causing the variable declaration to be compiled)Copyright (c) 2004-2020 Saxonica Limited. All rights reserved.