Package eu.bandm.tools.tdom.runtime
Class TypedDTD.DTDInfo
java.lang.Object
eu.bandm.tools.tdom.runtime.TypedDTD.DTDInfo
- Enclosing class:
- TypedDTD
Container for all different kinds of reflection info objects.
-
Field Summary
Modifier and TypeFieldDescription(package private) final TypedDTD.AbstractElementInfo
(package private) final TypedDTD.ImplementationInfo<Object>
(package private) final Map<NamespaceName,
TypedDTD.AbstractElementInfo> (package private) final TypedDTD.ImplementationInfo<TypedExtension>
(package private) final TypedDTD.ImplementationInfo<BaseMatcher>
(package private) final TypedDTD.ImplementationInfo<Object>
-
Constructor Summary
ConstructorDescriptionDTDInfo
(TypedDTD.AbstractElementInfo base, Class<? extends TypedExtension> extension, Class<? extends BaseMatcher> matcher, Class<V> visitor, Class<? extends V> dumper) -
Method Summary
Modifier and TypeMethodDescriptionGet reflection information for the Base Matcher class generated in the model.Get reflection information for the Dumper class generated in the model.Get reflection information for the base Element class in the model.Get reflection information for all elements occuring in the model.Get reflection information for the Extension class generated in the model.Get reflection information for the Visitor class generated in the model.toString()
-
Field Details
-
base
-
extension
-
matcher
-
visitor
-
dumper
-
elements
-
-
Constructor Details
-
DTDInfo
-
DTDInfo
public DTDInfo(TypedDTD.AbstractElementInfo base, Class<? extends TypedExtension> extension, Class<? extends BaseMatcher> matcher, Class<V> visitor, Class<? extends V> dumper)
-
-
Method Details
-
toString
-
getElements
Get reflection information for all elements occuring in the model. -
getElementBase
Get reflection information for the base Element class in the model. This is the class called "<PKG>/Element", which inherits fromTypedElement
, and is the superclass for all generated elements' classes. -
getExtension
Get reflection information for the Extension class generated in the model. -
getBaseMatcher
Get reflection information for the Base Matcher class generated in the model. This is the class from which the programmer's own code will inherit. -
getVisitor
Get reflection information for the Visitor class generated in the model. This is the class from which the programmer's own code will inherit. -
getDumper
Get reflection information for the Dumper class generated in the model. This class traverses each model instance and sendsSaxEvents
to aContentHandler
and aLexicalHandler
.
-