|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deduced.rule.DeductionRuleLibrary org.deduced.text.rule.GetMultiLanguageTextRule
public class GetMultiLanguageTextRule
GetMultiLanguageTextRule
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.deduced.rule.DeductionRuleLibrary |
---|
DeductionRuleLibrary.CompareResult |
Constructor Summary | |
---|---|
GetMultiLanguageTextRule()
|
Method Summary | |
---|---|
java.lang.Object |
analyzeRule(java.lang.Object[] inputs,
RuleExecutionContext context,
PropertyCollection collection,
PropertyCollection rule)
(non-JSDoc) |
static java.lang.Object |
getTextForLanguage(PropertyCollection<?,?> translationList,
java.lang.String defaultText,
PropertyCollection<?,?> language)
get Text For Language |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GetMultiLanguageTextRule()
Method Detail |
---|
public java.lang.Object analyzeRule(java.lang.Object[] inputs, RuleExecutionContext context, PropertyCollection collection, PropertyCollection rule) throws java.lang.Exception
inputs
- the array of inputscontext
- the rule execution contextcollection
- the collection on which the rule is executedrule
- the rule being executed
java.lang.Exception
- any exception detected during rule executionDeductionRuleAnalyzer.analyzeRule(java.lang.Object[],
org.deduced.RuleExecutionContext, org.deduced.PropertyCollection,
org.deduced.PropertyCollection)
public static java.lang.Object getTextForLanguage(PropertyCollection<?,?> translationList, java.lang.String defaultText, PropertyCollection<?,?> language)
translationList
- the list of text associated with each languagedefaultText
- the default text value to uselanguage
- the language to use
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |