Class Tdom2format

    • Method Detail

      • getCurrentModel

        protected Format getCurrentModel()
        Description copied from class: GenericCompiler
        Currently only needed to compile escapeToJava() in the variant operating directly on the model element. Introduced 20170428.
        Specified by:
        getCurrentModel in class GenericCompiler
      • FORMATTER_fieldSelection

        protected Format FORMATTER_fieldSelection​(Format f,
                                                  java.lang.String s)
      • visit

        public void visit​(eu.bandm.tools.formatfrontends.absy.Element_tdomRule el)
        Overrides:
        visit in class eu.bandm.tools.formatfrontends.absy.Visitor
      • visit

        public void visit​(eu.bandm.tools.formatfrontends.absy.Element_instanceTest el)
        Overrides:
        visit in class eu.bandm.tools.formatfrontends.absy.Visitor
      • visit

        public void visit​(eu.bandm.tools.formatfrontends.absy.Element_clss el)
        Overrides:
        visit in class eu.bandm.tools.formatfrontends.absy.Visitor
      • visit

        public void visit​(eu.bandm.tools.formatfrontends.absy.Element_clssUPCASE el)
        Overrides:
        visit in class eu.bandm.tools.formatfrontends.absy.Visitor
      • visit

        public void visit​(eu.bandm.tools.formatfrontends.absy.Element_supr el)
        Overrides:
        visit in class eu.bandm.tools.formatfrontends.absy.Visitor
      • visit

        public void visit​(eu.bandm.tools.formatfrontends.absy.Element_t_pcdata element)
        Overrides:
        visit in class eu.bandm.tools.formatfrontends.absy.Visitor
      • visit

        public void visit​(eu.bandm.tools.formatfrontends.absy.Element_child el)
        Compile code for a child reference. This can be
        • Tag (num defaults to one(1) )
        • Tag+num
        • Seq+num
        • Choice+num
        • Choice+num+Altindex
        All these references are declared to be to a "plural" subobject by appending a list or fold designator "[..]". --
        Overrides:
        visit in class eu.bandm.tools.formatfrontends.absy.Visitor
      • visit

        public void visit​(eu.bandm.tools.formatfrontends.absy.Element_swtch el)
        Overrides:
        visit in class eu.bandm.tools.formatfrontends.absy.Visitor
      • visit

        public void visit​(eu.bandm.tools.formatfrontends.absy.Element_cases el)
        Overrides:
        visit in class eu.bandm.tools.formatfrontends.absy.Visitor
      • visit

        public void visit​(eu.bandm.tools.formatfrontends.absy.Element_cas el)
        MISSING FIXME check if numbers correspond to kind of selector (0/1 for elements!)
        Overrides:
        visit in class eu.bandm.tools.formatfrontends.absy.Visitor
      • main

        public static void main​(java.lang.String[] args)
        needs :
                     0: root of source tree
                     1: package name
                     2: name of base visitor class
                     3: name of class to generate
                     4: indication of source type "dtd" or other string 
                     5: source file uri
                         --OR-- dtd uri with PIs ""