Class DTD


@Undocumented public final class DTD extends TypedDTD
Central class for all meta-information. On class initialization, the field dtd is filled with one single instance. More instances will not be necessary.
The instantiation process includes the re-parsing of the DTD text file. Therefore this must be present under the name given by TypedDTD.ORIGINAL_DTD_RESOURCE_NAME, in the same directory as this class file.
All errors encountered during this initialization are stored in an internal MessageStore. This can be read out, if necessary, by drainInitializationMessages(MessageReceiver).

The inherited method TypedDTD.getDTD() gives access to the underlying dtd.DTD.Dtd object. Each nstance of this class (which has been generated by umod) represents an unprocessed DTD, seen as an algebraic specification text. Contrarily, this generated class, as a sub-class of TypedDTD, reflects the outcome of one particular successful code generation process = tdom application.