Modifier and Type | Class and Description |
---|---|
static class |
TypedDTD.AbstractElementInfo
Reflection information for a "synthetic" element in the generated code,
caused by a "
<?tdom abstract ..> " directive in the underlying DTD. |
static class |
TypedDTD.AttributeInfo
Reflection information for one particular Attribute definition from the DTD.
|
static class |
TypedDTD.DTDInfo
Container for all different kinds of reflection info objects.
|
static class |
TypedDTD.ElementInfo
Reflection information for one particular Element definition from the DTD.
|
static class |
TypedDTD.ImplementationInfo<C>
Reflection information which indicates one(1) particular Java class, which has been
generated to implement one(1) particular concept.
|
static class |
TypedDTD.NamedImplementationInfo<C>
Reflection information which indicates one(1) particular Java class,
generated to implement one(1) particular concept which carries a
NamespaceName.
|
Modifier and Type | Field and Description |
---|---|
static String |
DTD_ENCODING
Encoding for parsing a DTD text file input, currently fixed to "UTF-8".
|
static String |
ORIGINAL_DTD_RESOURCE_NAME
The name under which the DTD text file must be accessible in directory of generated
model class files.
|
Constructor and Description |
---|
TypedDTD(MessageReceiver<? super SimpleMessage> rec) |
Modifier and Type | Method and Description |
---|---|
Locator2 |
createLocator() |
Locator2 |
createLocator(String encoding) |
protected static Element |
extractSingleton(ContentMapping content) |
long |
getChecksum()
Returns the CRC checksum of the text contents of the DTD text file
used for this tdom model.
|
XMLDocumentIdentifier |
getDocumentId()
This is only a default method which ALWAYS will be orverridden !??
bttodo FIXME ??
|
DTD.Dtd |
getDTD() |
String |
getDTDSource()
Returns the text contents of the DTD text file used for this tdom model.
|
int |
getElementIndex(String tagName)
Returns the numeric index of the element with the given tag, as stored in an internal
instance of
ElementIndex . |
ErrorHandler |
getErrorHandler() |
abstract TypedDTD.DTDInfo |
getInterfaceInfo()
Gives access to all reflection info objects.
|
protected void |
implementContentModel(String tagName) |
ContentMapping |
parseContent(Element element) |
static void |
printStatistics()
Prints statistics on parsing time to
System.err . |
void |
setErrorHandler(ErrorHandler newErrorHandler) |
@User public static final String DTD_ENCODING
@User public static final String ORIGINAL_DTD_RESOURCE_NAME
public TypedDTD(MessageReceiver<? super SimpleMessage> rec)
@User public ErrorHandler getErrorHandler()
@User public void setErrorHandler(ErrorHandler newErrorHandler)
public final String getDTDSource()
public final long getChecksum()
@User public XMLDocumentIdentifier getDocumentId()
@User public final int getElementIndex(String tagName)
ElementIndex
.protected final void implementContentModel(String tagName)
protected static final Element extractSingleton(ContentMapping content)
public final ContentMapping parseContent(Element element)
@User public static void printStatistics()
System.err
.public Locator2 createLocator()
@User public abstract TypedDTD.DTDInfo getInterfaceInfo()
see also the complete user documentation .