Class DocumentTemplate

java.lang.Object
eu.bandm.tools.tdom.Template
eu.bandm.tools.tdom.DocumentTemplate

class DocumentTemplate extends Template
  • Field Details

    • packageTemplate

      final PackageTemplate packageTemplate
    • element

      @Opt final @Opt ToplevelTemplate element
      ATTENTION Field element is of class ToplevelTemplate, because it can be an ElementTemplate OR an AbstractElementTemplate. 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

  • Method Details

    • init

      public void init()
    • finish

      public void finish()
    • generateDeclComment

      protected void generateDeclComment()
    • generateHostMethod

      protected void generateHostMethod()