Package eu.bandm.tools.tdom
Class DocumentTemplate
java.lang.Object
eu.bandm.tools.tdom.Template
eu.bandm.tools.tdom.DocumentTemplate
-
Field Summary
Modifier and TypeFieldDescription(package private) GeneratedClass
(package private) final @Opt ToplevelTemplate
ATTENTION Fieldelement
is of classToplevelTemplate
, because it can be anElementTemplate
OR anAbstractElementTemplate
.(package private) final PackageTemplate
-
Constructor Summary
ConstructorDescriptionDocumentTemplate
(PackageTemplate packageTemplate, @Opt ToplevelTemplate element) -
Method Summary
Methods inherited from class eu.bandm.tools.tdom.Template
error, error, expression, statement, statements, warning, warning
-
Field Details
-
packageTemplate
-
element
ATTENTION Fieldelement
is of classToplevelTemplate
, because it can be anElementTemplate
OR anAbstractElementTemplate
. There are some hard casts in the following code which are not totally clear to the reader. ((eventuell später mal aufräumen !?)) Only one instance has elment==null and stands for "packageTemplate.abstractDocumentTemplate". This will generate "Document.java", the common superclass of all Document_[XXX] classes. -
documentClass
GeneratedClass documentClass
-
-
Constructor Details
-
DocumentTemplate
-
-
Method Details
-
init
public void init() -
finish
public void finish() -
generateDeclComment
protected void generateDeclComment() -
generateHostMethod
protected void generateHostMethod()
-