public class ReactionRules extends Object implements RuleGroup
Modifier and Type | Method and Description |
---|---|
String |
applyRules(String text)
Applies the rules.
|
static ReactionRules |
getInstance()
Returns the sole instance of this class.
|
String |
reverseRules(String text)
Applies the reverse rules.
|
public static ReactionRules getInstance()
public String applyRules(String text)
applyRules
in interface RuleGroup
text
- The text to be translated.NullPointerException
- if text
is null
.public String reverseRules(String text)
reverseRules
in interface RuleGroup
text
- The text to be translated.NullPointerException
- if text
is null
.Copyright © 2013 EMBL-EBI. All rights reserved.