public interface IlrRulesetVerbalizationProvider
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBOMTypeAttributeVerbalization(java.lang.String theBOMType,
java.lang.String theAttributeName)
Returns the verbalization for a BOM type attribute.
|
java.lang.String |
getBOMTypeDomainValueVerbalization(java.lang.String theBOMType,
java.lang.String theDomainValue)
Returns the verbalization for a domain value for a BOM type.
|
java.lang.String |
getBOMTypeVerbalization(java.lang.String theBOMType)
Returns the verbalization for a BOM type.
|
java.util.Locale |
getLocale()
Returns the locale this instance provides localization for.
|
java.lang.String |
getRulesetParameterVerbalization(java.lang.String theRulesetParameterName)
Returns the verbalization for a ruleset parameter.
|
IlrVocabulary |
getVocabulary()
Returns the vocabulary used by this provider to verbalize the ruleset
BOM.
|
void |
setUseDefaultVerbalizationWhenNoneAvailable(boolean theFlag)
Sets if this instance must generate a default verbalization for attributes when none is available.
|
boolean |
useDefaultVerbalizationWhenNoneAvailable()
Signals if this instance generates a default verbalization for attributes when none is available.
|
java.util.Locale getLocale()
java.lang.String getBOMTypeVerbalization(java.lang.String theBOMType)
theBOMType - The BOM type.theBOMType.
If no verbalization is defined, theBOMType is returned.java.lang.String getBOMTypeAttributeVerbalization(java.lang.String theBOMType,
java.lang.String theAttributeName)
theBOMType - The BOM type.theAttributeName - The attribute name.theAttributeName of theBOMType.
If theAttributeName is not verbalized,
theAttributeName is returned.java.lang.String getBOMTypeDomainValueVerbalization(java.lang.String theBOMType,
java.lang.String theDomainValue)
theBOMType - The BOM type.theDomainValue - The domain value.theDomainValue of theBOMType.
If theDomainValue is not verbalized, theDomainValue
is returned.java.lang.String getRulesetParameterVerbalization(java.lang.String theRulesetParameterName)
theRulesetParameterName - The name of the ruleset parameter.theRulesetParameterName.
If no verbalization is defined, theRulesetParameterName
is returned.IlrVocabulary getVocabulary()
boolean useDefaultVerbalizationWhenNoneAvailable()
true of false.void setUseDefaultVerbalizationWhenNoneAvailable(boolean theFlag)
theFlag - true if default verbalization should be generated, false otherwise.© Copyright IBM Corp. 1987, 2017