|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.nist.nlpir.irf.conversion.ConversionRules
This class models a collection of rules which specify mappings
between SGML-tagged data and fields within a document object
| Field Summary | |
private java.util.Hashtable |
rules
A dictionary of rules for use during conversion |
| Constructor Summary | |
ConversionRules()
Creates a new instance with no rules |
|
| Method Summary | |
void |
addRule(ConversionRule cr)
Adds a conversion rule to the dictionary |
ConversionRule |
findRuleForTag(java.lang.String tag)
Takes a tag string and looks through ConversionRules until it finds a rule with the same tag and returns the rule or finds no rule with the same tag and so returns null. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
private java.util.Hashtable rules
| Constructor Detail |
public ConversionRules()
| Method Detail |
public void addRule(ConversionRule cr)
public ConversionRule findRuleForTag(java.lang.String tag)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||