Package eu.bandm.tools.muli.tdom
Class DTD
java.lang.Object
eu.bandm.tools.tdom.runtime.TypedDTD
eu.bandm.tools.muli.tdom.DTD
Central class for all meta-information. On class initialization, the field
The instantiation process includes the re-parsing of the DTD text file. Therefore this must be present under the name given by
All errors encountered during this initialization are stored in an internal
The inherited method
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.-
Nested Class Summary
Nested classes/interfaces inherited from class eu.bandm.tools.tdom.runtime.TypedDTD
TypedDTD.AbstractElementInfo, TypedDTD.AttributeInfo, TypedDTD.DTDInfo, TypedDTD.ElementInfo, TypedDTD.ImplementationInfo<C>, TypedDTD.NamedImplementationInfo<C>
-
Field Summary
Fields inherited from class eu.bandm.tools.tdom.runtime.TypedDTD
DTD_ENCODING, ORIGINAL_DTD_RESOURCE_NAME
-
Method Summary
Modifier and TypeMethodDescriptioncreateDocument_translationfile
(Document document, Extension ext) static void
drainInitializationMessages
(MessageReceiver<? super SimpleMessage> msg) This is only a default method which ALWAYS will be orverridden !?? bttodo FIXME ??final TypedDTD.DTDInfo
Gives access to all reflection info objects.Methods inherited from class eu.bandm.tools.tdom.runtime.TypedDTD
createLocator, createLocator, extractSingleton, forName, getChecksum, getDTD, getDTDSource, getElementIndex, getErrorHandler, implementContentModel, parseContent, printStatistics, setErrorHandler
-
Field Details
-
dtd
-
-
Method Details
-
drainInitializationMessages
@Undocumented public static void drainInitializationMessages(MessageReceiver<? super SimpleMessage> msg) -
getDocumentId
Description copied from class:TypedDTD
This is only a default method which ALWAYS will be orverridden !?? bttodo FIXME ??- Overrides:
getDocumentId
in classTypedDTD
-
createDocument_translationfile
-
createDocument_translationfile
public Document_translationfile createDocument_translationfile(Document document, Extension ext) throws TdomAttributeException, TdomContentException -
createDocument_translationfile
public Document_translationfile createDocument_translationfile(SAXEventStream in, Extension ext) throws TdomException - Throws:
TdomException
-
createDocument_translationfile
public Document_translationfile createDocument_translationfile(SAXEventStream in) throws TdomException - Throws:
TdomException
-
createDocument_translationfile
public Document_translationfile createDocument_translationfile(InputStream in, Extension ext) throws TdomException, IOException - Throws:
TdomException
IOException
-
getInterfaceInfo
Description copied from class:TypedDTD
Gives access to all reflection info objects.- Specified by:
getInterfaceInfo
in classTypedDTD
-