| <?xml version='1.0' encoding='UTF-8'?> |
| <!-- Schema file written by PDE --> |
| <schema targetNamespace="org.eclipse.jwt.transformations" xmlns="http://www.w3.org/2001/XMLSchema"> |
| <annotation> |
| <appinfo> |
| <meta.schema plugin="org.eclipse.jwt.transformations" id="transformations" name="Transformations with JWT"/> |
| </appinfo> |
| <documentation> |
| This is the extension point that developers shall use to add a new JWT transformation. |
| <p>Please note that <code>org.eclipse.jwt.transformations.api.TransformationService</code> is <em>deprecated</em> as of JWT 1.3, and may be removed in a (distant) future release. Developers should extend <code>org.eclipse.jwt.transformations.api.AbstractTransformation</code> instead, and properly define inputs and outputs (see <code>org.eclipse.jwt.transformations.iodefinitions</code> extension point). |
| </documentation> |
| </annotation> |
| |
| <include schemaLocation="iodefinitions.exsd"/> |
| |
| <element name="extension"> |
| <annotation> |
| <appinfo> |
| <meta.element /> |
| </appinfo> |
| </annotation> |
| <complexType> |
| <sequence> |
| <element ref="transformation" minOccurs="1" maxOccurs="unbounded"/> |
| </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="transformation"> |
| <complexType> |
| <sequence minOccurs="0" maxOccurs="1"> |
| <element ref="inputs"/> |
| <element ref="outputs"/> |
| </sequence> |
| <attribute name="name" type="string" use="required"> |
| <annotation> |
| <documentation> |
| A short, human-readable name identifying this transformation. |
| </documentation> |
| <appinfo> |
| <meta.attribute translatable="true"/> |
| </appinfo> |
| </annotation> |
| </attribute> |
| <attribute name="class" type="string" use="required"> |
| <annotation> |
| <documentation> |
| |
| </documentation> |
| <appinfo> |
| <meta.attribute kind="java" basedOn="org.eclipse.jwt.transformations.api.AbstractTransformation:org.eclipse.jwt.transformations.api.Transformation"/> |
| </appinfo> |
| </annotation> |
| </attribute> |
| <attribute name="description" type="string"> |
| <annotation> |
| <documentation> |
| A short paragraph describing the purpose of this transformation. |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="type"> |
| <annotation> |
| <documentation> |
| "import" or "export", depending on the category this transformation should be made available under. |
| </documentation> |
| </annotation> |
| <simpleType> |
| <restriction base="string"> |
| <enumeration value="import"> |
| </enumeration> |
| <enumeration value="export"> |
| </enumeration> |
| </restriction> |
| </simpleType> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="inputs"> |
| <annotation> |
| <documentation> |
| This element registers compatible input definitions. It is optional if the implementing class extends TransformationService (deprecated) or if it overrides <code>getCompatibleInputDefinitions</code>. |
| </documentation> |
| </annotation> |
| <complexType> |
| <choice minOccurs="1" maxOccurs="unbounded"> |
| <element ref="iodefinition"/> |
| <element ref="ioreference"/> |
| </choice> |
| </complexType> |
| </element> |
| |
| <element name="outputs"> |
| <annotation> |
| <documentation> |
| This element registers compatible output definitions. It is optional if the implementing class extends TransformationService (deprecated) or if it overrides <code>getCompatibleOutputDefinitions</code>. |
| </documentation> |
| </annotation> |
| <complexType> |
| <choice minOccurs="1" maxOccurs="unbounded"> |
| <element ref="iodefinition"/> |
| <element ref="ioreference"/> |
| </choice> |
| </complexType> |
| </element> |
| |
| <annotation> |
| <appinfo> |
| <meta.section type="since"/> |
| </appinfo> |
| <documentation> |
| 0.6.0 |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appinfo> |
| <meta.section type="examples"/> |
| </appinfo> |
| <documentation> |
| See <code>org.eclipse.jwt.transformations.xpdl</code> plugin for legacy transformations support example. |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appinfo> |
| <meta.section type="apiInfo"/> |
| </appinfo> |
| <documentation> |
| See interface <code>org.eclipse.jwt.transformations.api.Transformation</code>. |
| <p>For API compatibility purpose, the class <code>org.eclipse.jwt.transformations.api.TransformationService</code> is still supported: when defining a transformation extending <code>TransformationService</code>, missing input or output definition defaults to one providing a <code>String</code> to the transformation, with controls similar to what was provided before JWT 1.3. |
| <p>Please note, though, that <code>org.eclipse.jwt.transformations.api.TransformationService</code> is <em>deprecated</em> as of JWT 1.3, and may be removed in a (distant) future release. Developers should extend <code>org.eclipse.jwt.transformations.api.AbstractTransformation</code> instead, and properly define inputs and outputs (see <code>org.eclipse.jwt.transformations.iodefinitions</code> extension point). |
| </documentation> |
| </annotation> |
| |
| |
| <annotation> |
| <appinfo> |
| <meta.section type="copyright"/> |
| </appinfo> |
| <documentation> |
| Copyright (c) 2008-2009 Open Wide (www.openwide.fr) |
| </documentation> |
| </annotation> |
| |
| </schema> |