Package eu.bandm.tools.lablog.xml
Class DTD
java.lang.Object
eu.bandm.tools.tdom.runtime.TypedDTD
eu.bandm.tools.lablog.xml.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_a_list
(SAXEventStream in, Extension ext) createDocument_a_list
(InputStream in, Extension ext) createDocument_a_list
(Document document, Extension ext) createDocument_a_verbatimXml
(Document document, Extension ext) createDocument_entries
(InputStream in, Extension ext) createDocument_entries
(Document document, Extension ext) createDocument_package
(InputStream in, Extension ext) createDocument_package
(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_package
-
createDocument_package
public Document_package createDocument_package(Document document, Extension ext) throws TdomContentException, TdomAttributeException -
createDocument_package
public Document_package createDocument_package(SAXEventStream in, Extension ext) throws TdomException - Throws:
TdomException
-
createDocument_package
- Throws:
TdomException
-
createDocument_package
public Document_package createDocument_package(InputStream in, Extension ext) throws IOException, TdomException - Throws:
IOException
TdomException
-
createDocument_entries
-
createDocument_entries
public Document_entries createDocument_entries(Document document, Extension ext) throws TdomContentException, TdomAttributeException -
createDocument_entries
public Document_entries createDocument_entries(SAXEventStream in, Extension ext) throws TdomException - Throws:
TdomException
-
createDocument_entries
- Throws:
TdomException
-
createDocument_entries
public Document_entries createDocument_entries(InputStream in, Extension ext) throws IOException, TdomException - Throws:
IOException
TdomException
-
createDocument_a_verbatimXml
-
createDocument_a_verbatimXml
public Document_a_verbatimXml createDocument_a_verbatimXml(Document document, Extension ext) throws TdomContentException, TdomAttributeException -
createDocument_a_verbatimXml
public Document_a_verbatimXml createDocument_a_verbatimXml(SAXEventStream in, Extension ext) throws TdomException - Throws:
TdomException
-
createDocument_a_verbatimXml
- Throws:
TdomException
-
createDocument_a_verbatimXml
public Document_a_verbatimXml createDocument_a_verbatimXml(InputStream in, Extension ext) throws IOException, TdomException - Throws:
IOException
TdomException
-
createDocument_a_list
-
createDocument_a_list
public Document_a_list createDocument_a_list(Document document, Extension ext) throws TdomContentException, TdomAttributeException -
createDocument_a_list
- Throws:
TdomException
-
createDocument_a_list
- Throws:
TdomException
-
createDocument_a_list
public Document_a_list createDocument_a_list(InputStream in, Extension ext) throws IOException, TdomException - Throws:
IOException
TdomException
-
getInterfaceInfo
Description copied from class:TypedDTD
Gives access to all reflection info objects.- Specified by:
getInterfaceInfo
in classTypedDTD
-