Menu

[r3154]: / trunk / ch.sahits.codegen.java / schema / ch.sahits.codegen.java.generator.exsd  Maximize  Restore  History

Download this file

124 lines (111 with data), 3.7 kB

<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="ch.sahits.codegen.java" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
      <appInfo>
         <meta.schema plugin="ch.sahits.codegen.java" id="ch.sahits.codegen.java.generator" name="Code Generator"/>
      </appInfo>
      <documentation>
         This extention point let&apos;s you provide your own generator classes
      </documentation>
   </annotation>

   <element name="extension">
      <annotation>
         <appInfo>
            <meta.element />
         </appInfo>
      </annotation>
      <complexType>
         <sequence minOccurs="1" maxOccurs="unbounded">
            <element ref="generator"/>
         </sequence>
         <attribute name="point" type="string" use="required">
            <annotation>
               <documentation>
                  
               </documentation>
            </annotation>
         </attribute>
         <attribute name="id" type="string">
            <annotation>
               <documentation>
                  
               </documentation>
            </annotation>
         </attribute>
         <attribute name="name" type="string">
            <annotation>
               <documentation>
                  
               </documentation>
               <appInfo>
                  <meta.attribute translatable="true"/>
               </appInfo>
            </annotation>
         </attribute>
      </complexType>
   </element>

   <element name="generator">
      <complexType>
         <attribute name="class" type="string" use="required">
            <annotation>
               <documentation>
                  
               </documentation>
               <appInfo>
                  <meta.attribute kind="java" basedOn=":ch.sahits.codegen.generator.IBaseGenerator"/>
               </appInfo>
            </annotation>
         </attribute>
         <attribute name="display" type="string">
            <annotation>
               <documentation>
                  Displayed text on the user interface.
Short description of the generator class
               </documentation>
            </annotation>
         </attribute>
         <attribute name="helpContext" type="string">
            <annotation>
               <documentation>
                  Context ID for the help
               </documentation>
            </annotation>
         </attribute>
      </complexType>
   </element>

   <annotation>
      <appInfo>
         <meta.section type="since"/>
      </appInfo>
      <documentation>
         0.9.0
      </documentation>
   </annotation>

   <annotation>
      <appInfo>
         <meta.section type="examples"/>
      </appInfo>
      <documentation>
         &lt;extension
         point=&quot;ch.sahits.codegen.java.generator&quot;&gt;
      &lt;generator
            class=&quot;ch.sahits.codegen.java.generator.jettemplate.InitializableDbBeanGenerator&quot;&gt;
      &lt;/generator&gt;
      &lt;generator
            class=&quot;ch.sahits.codegen.java.generator.ast.PureASTOracleDAOGenerator&quot;&gt;
      &lt;/generator&gt;
      &lt;generator
            class=&quot;ch.sahits.codegen.java.generator.ast.ASTBeanWithDelete&quot;&gt;
      &lt;/generator&gt;
      &lt;generator
            class=&quot;ch.sahits.codegen.java.generator.ast.JETASTGenerator&quot;&gt;
      &lt;/generator&gt;
   &lt;/extension&gt;
      </documentation>
   </annotation>


   <annotation>
      <appInfo>
         <meta.section type="implementation"/>
      </appInfo>
      <documentation>
         ch.sahits.codegen.java
      </documentation>
   </annotation>


</schema>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.