de.dfki.lt.tools.tokenizer
Class AbbrevDescription

java.lang.Object
  extended byde.dfki.lt.tools.tokenizer.Description
      extended byde.dfki.lt.tools.tokenizer.AbbrevDescription

public class AbbrevDescription
extends Description

AbbrevDescription extends Description. It manages the content of a abbreviation description file.

Version:
$Id: AbbrevDescription.java,v 1.5 2005/04/12 08:47:37 steffen Exp $
Author:
Joerg Steffen, DFKI

Field Summary
protected static java.lang.String ABBREV_RULE
          This is the name of the abbreviation rule.
 
Fields inherited from class de.dfki.lt.tools.tokenizer.Description
DEF_CLASS, DEF_REGEXP, definitionsMap, DEFS, FACTORY, LIST_ENCODING, LIST_FILE, LISTS, listsMap, regExpMap, RULES, rulesMap
 
Constructor Summary
AbbrevDescription(org.w3c.dom.Document abbrDescr, java.util.Set classes, java.lang.String aResourceDir)
          This creates a new instance of AbbrevDescription for the abbreviation description contained in the dom Document abbrDescr.
 
Methods inherited from class de.dfki.lt.tools.tokenizer.Description
getDefinitionsMap, getListsMap, getRegExpMap, getRulesMap, loadDefinitions, loadLists, loadRules, setDefinitionsMap, setListsMap, setRegExpMap, setRulesMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ABBREV_RULE

protected static final java.lang.String ABBREV_RULE
This is the name of the abbreviation rule.

See Also:
Constant Field Values
Constructor Detail

AbbrevDescription

public AbbrevDescription(org.w3c.dom.Document abbrDescr,
                         java.util.Set classes,
                         java.lang.String aResourceDir)
This creates a new instance of AbbrevDescription for the abbreviation description contained in the dom Document abbrDescr.

Parameters:
abbrDescr - a dom Document with the abbreviation description
classes - a Set with the defined classes, used for validation
aResourceDir - a String with the name of the resource directory
Throws:
InitializationException - if an error occurs