Class AttlistIndex

java.lang.Object
eu.bandm.tools.dtd.AttlistIndex

public class AttlistIndex extends Object
Maintains for one given DTD.Dtd a map from element names into DTD.Attlists. For a certain element name: Iff there are one ore more DTD.Attlists in the original dtd, then in the map is exactly one(1) fresh DTD.Attlist object, containing all attribute declarations.
Errors are issued to the message channel
  1. if a set of known element names is given and an attribute list refers to an element name not contained therein.
  2. if an attribute name appears more than once in an Attlist.
  3. if more than one attributes in the same attlist are of type "ID".
(Further checks could be added!)