public class DefaultIntelliTextEditorEnvironment extends java.lang.Object implements IntelliTextEditorEnvironmentWithQuickFixes
| Modifier and Type | Field and Description |
|---|---|
protected ilog.rules.brl.brldf.IlrBRLDefinition |
definition |
protected com.ibm.bdsl.web.editor.parsing.FixProposalStrategy |
fixProposalStrategy |
protected ilog.rules.brl.parsing.IlrBRLParserService |
parser |
protected java.lang.String |
rootAxiom |
protected ilog.rules.brl.brldf.IlrBRLVariableProvider |
variableProvider |
| Constructor and Description |
|---|
DefaultIntelliTextEditorEnvironment(ilog.rules.brl.parsing.IlrBRLParserService parser,
ilog.rules.brl.brldf.IlrBRLDefinition definition)
Class Constructor
|
DefaultIntelliTextEditorEnvironment(ilog.rules.brl.parsing.IlrBRLParserService parser,
ilog.rules.brl.brldf.IlrBRLVariableProvider variableProvider,
ilog.rules.brl.brldf.IlrBRLDefinition definition,
java.lang.String rootAxiom)
Class Constructor
|
DefaultIntelliTextEditorEnvironment(ilog.rules.brl.parsing.IlrBRLParserService parser,
ilog.rules.brl.brldf.IlrBRLVariableProvider variableProvider,
ilog.rules.brl.brldf.IlrBRLDefinition definition,
java.lang.String rootAxiom,
com.ibm.bdsl.web.editor.parsing.FixProposalStrategy fixProposalStrategy) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<java.lang.String> |
getCategoryFilter()
Returns the Category Filter Set.
|
ilog.rules.brl.brldf.IlrBRLDefinition |
getDefinition()
Returns the business rule language definition that will be used to
parse the input.
|
com.ibm.bdsl.web.editor.parsing.FixProposalStrategy |
getFixProposalStrategy() |
ilog.rules.brl.parsing.IlrBRLParserService |
getParser()
Returns the
IlrBRLParserService used by the intellitext editor |
ilog.rules.brl.parsing.IlrBRLParserConfigurationDef |
getParserConfiguration()
Returns the Parser Configuration to be used for the request.
|
ilog.rules.brl.IlrBRLParserInput |
getParserInput(java.lang.String text)
Returns the Parser Input to be used for the request.
|
ilog.rules.brl.parsing.IlrBRLPredictionConfigurationDef |
getPredictionConfiguration(int offset)
Returns the Prediction Configuration to be used for the request and passed offset.
|
java.lang.String |
getRootAxiom()
Specifies an axiom that the parser will use.
|
ilog.rules.brl.brldf.IlrBRLVariableProvider |
getVariableProvider()
Returns the variable provider associated to the configuration.
|
protected final ilog.rules.brl.parsing.IlrBRLParserService parser
protected final ilog.rules.brl.brldf.IlrBRLVariableProvider variableProvider
protected final ilog.rules.brl.brldf.IlrBRLDefinition definition
protected final java.lang.String rootAxiom
protected final com.ibm.bdsl.web.editor.parsing.FixProposalStrategy fixProposalStrategy
public DefaultIntelliTextEditorEnvironment(ilog.rules.brl.parsing.IlrBRLParserService parser,
ilog.rules.brl.brldf.IlrBRLVariableProvider variableProvider,
ilog.rules.brl.brldf.IlrBRLDefinition definition,
java.lang.String rootAxiom)
parser - the parser servicevariableProvider - the variable provider (can be null)definition - the language definitionrootAxiom - the root axiom (can be null)IlrBRLParserService,
IlrBRLVariableProvider,
IlrBRLDefinitionpublic DefaultIntelliTextEditorEnvironment(ilog.rules.brl.parsing.IlrBRLParserService parser,
ilog.rules.brl.brldf.IlrBRLVariableProvider variableProvider,
ilog.rules.brl.brldf.IlrBRLDefinition definition,
java.lang.String rootAxiom,
com.ibm.bdsl.web.editor.parsing.FixProposalStrategy fixProposalStrategy)
public DefaultIntelliTextEditorEnvironment(ilog.rules.brl.parsing.IlrBRLParserService parser,
ilog.rules.brl.brldf.IlrBRLDefinition definition)
parser - the parser servicedefinition - the language definitionIlrBRLParserService,
IlrBRLDefinitionpublic ilog.rules.brl.parsing.IlrBRLParserService getParser()
IntelliTextEditorEnvironmentIlrBRLParserService used by the intellitext editorgetParser in interface IntelliTextEditorEnvironmentIlrBRLParserServicepublic ilog.rules.brl.brldf.IlrBRLVariableProvider getVariableProvider()
IntelliTextEditorEnvironmentnull.getVariableProvider in interface IntelliTextEditorEnvironmentIlrBRLVariableProviderpublic ilog.rules.brl.brldf.IlrBRLDefinition getDefinition()
IntelliTextEditorEnvironmentgetDefinition in interface IntelliTextEditorEnvironmentIlrBRLDefinition object representing the business rule
language definition for the appropriate locale.IlrBRLDefinition,
IlrBAL.getDefinition(java.util.Locale)public java.lang.String getRootAxiom()
IntelliTextEditorEnvironmentgetRootAxiom in interface IntelliTextEditorEnvironmentpublic java.util.Set<java.lang.String> getCategoryFilter()
IntelliTextEditorEnvironmentgetCategoryFilter in interface IntelliTextEditorEnvironmentpublic ilog.rules.brl.parsing.IlrBRLParserConfigurationDef getParserConfiguration()
IntelliTextEditorEnvironmentgetParserConfiguration in interface IntelliTextEditorEnvironmentIlrBRLParserConfigurationDefpublic ilog.rules.brl.parsing.IlrBRLPredictionConfigurationDef getPredictionConfiguration(int offset)
IntelliTextEditorEnvironmentgetPredictionConfiguration in interface IntelliTextEditorEnvironmentoffset - the offset in the textIlrBRLPredictionConfigurationDefpublic ilog.rules.brl.IlrBRLParserInput getParserInput(java.lang.String text)
IntelliTextEditorEnvironmentgetParserInput in interface IntelliTextEditorEnvironmenttext - the text to be parsedIlrBRLParserInputpublic com.ibm.bdsl.web.editor.parsing.FixProposalStrategy getFixProposalStrategy()
getFixProposalStrategy in interface IntelliTextEditorEnvironmentWithQuickFixes© Copyright IBM Corp. 1987, 2017