Package eu.bandm.tools.tdom.runtime
Class TypedDTD.DTDInfo
- java.lang.Object
-
- eu.bandm.tools.tdom.runtime.TypedDTD.DTDInfo
-
- Enclosing class:
- TypedDTD
public static class TypedDTD.DTDInfo extends java.lang.Object
Container for all different kinds of reflection info objects.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) TypedDTD.AbstractElementInfo
base
(package private) TypedDTD.ImplementationInfo<java.lang.Object>
dumper
(package private) java.util.Map<NamespaceName,TypedDTD.AbstractElementInfo>
elements
(package private) TypedDTD.ImplementationInfo<TypedExtension>
extension
(package private) TypedDTD.ImplementationInfo<BaseMatcher>
matcher
(package private) TypedDTD.ImplementationInfo<java.lang.Object>
visitor
-
Constructor Summary
Constructors Constructor Description DTDInfo(TypedDTD.AbstractElementInfo base)
DTDInfo(TypedDTD.AbstractElementInfo base, java.lang.Class<? extends TypedExtension> extension, java.lang.Class<? extends BaseMatcher> matcher, java.lang.Class<V> visitor, java.lang.Class<? extends V> dumper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypedDTD.ImplementationInfo<BaseMatcher>
getBaseMatcher()
Get reflection information for the Base Matcher class generated in the model.TypedDTD.ImplementationInfo<java.lang.Object>
getDumper()
Get reflection information for the Dumper class generated in the model.TypedDTD.AbstractElementInfo
getElementBase()
Get reflection information for the base Element class in the model.java.util.Map<NamespaceName,TypedDTD.AbstractElementInfo>
getElements()
Get reflection information for all elements occuring in the model.TypedDTD.ImplementationInfo<TypedExtension>
getExtension()
Get reflection information for the Extension class generated in the model.TypedDTD.ImplementationInfo<java.lang.Object>
getVisitor()
Get reflection information for the Visitor class generated in the model.java.lang.String
toString()
-
-
-
Field Detail
-
base
final TypedDTD.AbstractElementInfo base
-
extension
final TypedDTD.ImplementationInfo<TypedExtension> extension
-
matcher
final TypedDTD.ImplementationInfo<BaseMatcher> matcher
-
visitor
final TypedDTD.ImplementationInfo<java.lang.Object> visitor
-
dumper
final TypedDTD.ImplementationInfo<java.lang.Object> dumper
-
elements
final java.util.Map<NamespaceName,TypedDTD.AbstractElementInfo> elements
-
-
Constructor Detail
-
DTDInfo
public DTDInfo(TypedDTD.AbstractElementInfo base)
-
DTDInfo
public DTDInfo(TypedDTD.AbstractElementInfo base, java.lang.Class<? extends TypedExtension> extension, java.lang.Class<? extends BaseMatcher> matcher, java.lang.Class<V> visitor, java.lang.Class<? extends V> dumper)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getElements
public java.util.Map<NamespaceName,TypedDTD.AbstractElementInfo> getElements()
Get reflection information for all elements occuring in the model.
-
getElementBase
public TypedDTD.AbstractElementInfo 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
public TypedDTD.ImplementationInfo<TypedExtension> getExtension()
Get reflection information for the Extension class generated in the model.
-
getBaseMatcher
public TypedDTD.ImplementationInfo<BaseMatcher> 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
public TypedDTD.ImplementationInfo<java.lang.Object> 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
public TypedDTD.ImplementationInfo<java.lang.Object> getDumper()
Get reflection information for the Dumper class generated in the model. This class traverses each model instance and sendsSaxEvents
to aContentHandler
and aorg.xml.sax.LexicalHandler
.
-
-