Decision Center API

com.ibm.bdsl.web.editor
Interface IntelliTextEditorEnvironment


public interface IntelliTextEditorEnvironment

Parsing environment for the Web IntelliText Editor


Method Summary
 Set getCategoryFilter()
          Return the Category Filter.
 ilog.rules.brl.brldf.IlrBRLDefinition getDefinition()
          Returns the business rule language definition that will be used to parse the input.
 ilog.rules.brl.parsing.IlrBRLParserService getParser()
          Returns the IlrBRLParserService used by the intellitext editor
 ilog.rules.brl.parsing.IlrBRLParserConfigurationDef getParserConfiguration()
          Return the Parser Configuration to be used for the request.
 ilog.rules.brl.IlrBRLParserInput getParserInput(String text)
          Return the Parser Input to be used for the request.
 ilog.rules.brl.parsing.IlrBRLPredictionConfigurationDef getPredictionConfiguration(int offset)
          Return the Prediction Configuration to be used for the request and passed offset.
 String getRootAxiom()
          Specifies an axiom that the parser will use.
 ilog.rules.brl.brldf.IlrBRLVariableProvider getVariableProvider()
          Returns the variable provider associated to the configuration.
 

Method Detail

getDefinition

ilog.rules.brl.brldf.IlrBRLDefinition getDefinition()
Returns the business rule language definition that will be used to parse the input.

Returns:
A IlrBRLDefinition object representing the business rule language definition for the appropriate locale.

getParser

ilog.rules.brl.parsing.IlrBRLParserService getParser()
Returns the IlrBRLParserService used by the intellitext editor

Returns:
parser service

getVariableProvider

ilog.rules.brl.brldf.IlrBRLVariableProvider getVariableProvider()
Returns the variable provider associated to the configuration. Only used by default intellitext environment if no parser configuration provided

Returns:
The variable provider associated to the configuration.
See Also:
IlrBRLVariableProvider

getRootAxiom

String getRootAxiom()
Specifies an axiom that the parser will use. Return null if you want to use the default axiom. Only used by default intellitext environment if no parser input provided

Returns:
the axiom

getCategoryFilter

Set getCategoryFilter()
Return the Category Filter. If null, the commands will use the default category filter set. Only used by default intellitext environment if no parser input provided

Returns:
the category filter set, or null to use the defaults

getParserConfiguration

ilog.rules.brl.parsing.IlrBRLParserConfigurationDef getParserConfiguration()
Return the Parser Configuration to be used for the request. If null, the commands will use request parameters in order to create the configuration.

Returns:
the parser config for the request, or null to use the defaults
See Also:
IlrBRLParserConfigurationDef

getPredictionConfiguration

ilog.rules.brl.parsing.IlrBRLPredictionConfigurationDef getPredictionConfiguration(int offset)
Return the Prediction Configuration to be used for the request and passed offset. If null, the commands will use request parameters in order to create the configuration.

Parameters:
offset - the offset in the text
Returns:
the prediction config for the request, or null to use the defaults
See Also:
IlrBRLPredictionConfigurationDef

getParserInput

ilog.rules.brl.IlrBRLParserInput getParserInput(String text)
Return the Parser Input to be used for the request. If null, the commands will create a default input.

Parameters:
text - the text to be parsed
Returns:
the parser input for the request, or null to use the defaults
See Also:
IlrBRLParserInput

Decision Center API

© Copyright IBM Corp. 1987, 2013