Code Generator for Eclipse Code
Brought to you by:
hotzst
added | /plugin/fragments/codegenserilisation.xsd |
added | /plugin/fragments/databasetable.xsd |
--- a +++ b/plugin/fragments/codegenserilisation.xsd @@ -0,0 +1,101 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Andi Hotz (SAHITS) --> +<!--W3C Schema generated by XMLSPY v2004 rel. 2 U (http://www.xmlspy.com)--> +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> + <xs:element name="class"> + <xs:complexType> + <xs:sequence> + <xs:element ref="interface"/> + </xs:sequence> + <xs:attribute name="name" type="xs:string" use="required"/> + <xs:attribute name="package" type="xs:string" use="required"/> + <xs:attribute name="superclass" type="xs:string" use="required"/> + <xs:attribute name="abstract" type="xs:boolean" use="required"/> + <xs:attribute name="final" type="xs:boolean" use="required"/> + <xs:attribute name="visibility" type="xs:string" use="required"/> + </xs:complexType> + </xs:element> + <xs:element name="database"> + <xs:complexType> + <xs:sequence> + <xs:element ref="port"/> + <xs:element ref="host"/> + <xs:element ref="dbname"/> + <xs:element ref="username"/> + <xs:element ref="password"/> + <xs:element ref="tablename"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="databaseproduct" type="xs:string"/> + <xs:element name="dbname"> + <xs:complexType/> + </xs:element> + <xs:element name="generatedclass"> + <xs:complexType> + <xs:sequence> + <xs:element ref="srcFolder"/> + <xs:element ref="class"/> + <xs:element ref="generation"/> + <xs:element ref="database"/> + </xs:sequence> + <xs:attribute name="version" type="xs:decimal" use="required"/> + </xs:complexType> + </xs:element> + <xs:element name="generation"> + <xs:complexType> + <xs:sequence> + <xs:element ref="inputfile"/> + <xs:element ref="jetemplate"/> + <xs:element ref="generator"/> + <xs:element ref="referenceImplementation"/> + <xs:element ref="databaseproduct"/> + </xs:sequence> + <xs:attribute name="type" type="xs:string" use="required"/> + <xs:attribute name="base" type="xs:string" use="required"/> + </xs:complexType> + </xs:element> + <xs:element name="generator"> + <xs:complexType> + <xs:attribute name="inPlugin" type="xs:boolean" use="required"/> + </xs:complexType> + </xs:element> + <xs:element name="host"> + <xs:complexType/> + </xs:element> + <xs:element name="inputfile" type="xs:string"/> + <xs:element name="interface"> + <xs:complexType> + <xs:attribute name="class" type="xs:string" use="required"/> + </xs:complexType> + </xs:element> + <xs:element name="jetemplate"> + <xs:complexType> + <xs:simpleContent> + <xs:extension base="xs:string"> + <xs:attribute name="inPlugin" type="xs:boolean" use="required"/> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + </xs:element> + <xs:element name="password"> + <xs:complexType/> + </xs:element> + <xs:element name="port"> + <xs:complexType/> + </xs:element> + <xs:element name="referenceImplementation"> + <xs:complexType/> + </xs:element> + <xs:element name="srcFolder"> + <xs:complexType> + <xs:attribute name="path" type="xs:string" use="required"/> + </xs:complexType> + </xs:element> + <xs:element name="tablename"> + <xs:complexType/> + </xs:element> + <xs:element name="username"> + <xs:complexType/> + </xs:element> +</xs:schema>