public class IlrBRLCompositeVariableProvider extends java.lang.Object implements IlrBRLVariableProvider
IlrBRLVariableProvider.Visitor| Constructor and Description |
|---|
IlrBRLCompositeVariableProvider(IlrBRLVariableProvider provider1,
IlrBRLVariableProvider provider2)
This constructor creates a composite variable provider from the two providers given as argument
|
| Modifier and Type | Method and Description |
|---|---|
IlrBRLVariableProvider |
getFirstVariableProvider()
This method returns the 1st provider composing this composite
|
IlrBRLVariableProvider |
getSecondVariableProvider()
This method returns the 2nd provider composing this composite
|
IlrBRLVariable |
getVariable(IlrVocabulary vocabulary,
java.lang.String name)
Returns a variable with that name, or
null if there is no variable corresponding to that name. |
boolean |
visit(IlrVocabulary vocabulary,
IlrBRLVariableProvider.Visitor visitor)
Visits the variable provider by iterating on all variables declared by this provider.
|
public IlrBRLCompositeVariableProvider(IlrBRLVariableProvider provider1, IlrBRLVariableProvider provider2)
public IlrBRLVariableProvider getFirstVariableProvider()
public IlrBRLVariableProvider getSecondVariableProvider()
public IlrBRLVariable getVariable(IlrVocabulary vocabulary, java.lang.String name)
IlrBRLVariableProvidernull if there is no variable corresponding to that name.getVariable in interface IlrBRLVariableProvidervocabulary - The vocabulary in which this variable is looked up.name - The name of the variable to look for.public boolean visit(IlrVocabulary vocabulary, IlrBRLVariableProvider.Visitor visitor)
IlrBRLVariableProvidervisit in interface IlrBRLVariableProvidervocabulary - The vocabulary in which variables are looked up.visitor - A variable visitor called for all variables declared in this variable provider.© Copyright IBM Corp. 1987, 2017