Code Generator for Eclipse Code
Brought to you by:
hotzst
<?xml version='1.0' encoding='UTF-8'?> <!-- Schema file written by PDE --> <schema targetNamespace="ch.sahits.codegen" xmlns="http://www.w3.org/2001/XMLSchema"> <annotation> <appinfo> <meta.schema plugin="ch.sahits.codegen" id="ch.sahits.codegen.generator" name="General code generator"/> </appinfo> <documentation> Generate arbitrary code files (XML, property, config, WSDL, html, ...) with this code generator through a JETemplate or a generator class </documentation> </annotation> <element name="extension"> <annotation> <appinfo> <meta.element /> </appinfo> </annotation> <complexType> <sequence minOccurs="1" maxOccurs="unbounded"> <choice> <element ref="jetemplate"/> <element ref="generatorClass"/> </choice> </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="jetemplate"> <annotation> <documentation> This element is needed for code generation through a JETemplate </documentation> </annotation> <complexType> <attribute name="fileextension" type="string" use="required"> <annotation> <documentation> File extension of the output file. </documentation> </annotation> </attribute> <attribute name="location" type="string" use="required"> <annotation> <documentation> Relative path to the JETemplate within the plugin. </documentation> </annotation> </attribute> </complexType> </element> <element name="generatorClass"> <annotation> <documentation> This element is needed for code generation through a generator class </documentation> </annotation> <complexType> <attribute name="fileextension" type="string" use="required"> <annotation> <documentation> File extension of the output file. </documentation> </annotation> </attribute> <attribute name="class" type="string" use="required"> <annotation> <documentation> Fully qualified class name of the generator class </documentation> <appinfo> <meta.attribute kind="java" basedOn=":ch.sahits.codegen.generator.IGeneralGenerator"/> </appinfo> </annotation> </attribute> </complexType> </element> <annotation> <appinfo> <meta.section type="since"/> </appinfo> <documentation> 1.2.0 </documentation> </annotation> </schema>