diff options
Diffstat (limited to 'jaxb/plugins/org.eclipse.jpt.jaxb.core/schema/jaxbPlatforms.exsd')
-rw-r--r-- | jaxb/plugins/org.eclipse.jpt.jaxb.core/schema/jaxbPlatforms.exsd | 221 |
1 files changed, 221 insertions, 0 deletions
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.core/schema/jaxbPlatforms.exsd b/jaxb/plugins/org.eclipse.jpt.jaxb.core/schema/jaxbPlatforms.exsd new file mode 100644 index 0000000000..f8ca5c651d --- /dev/null +++ b/jaxb/plugins/org.eclipse.jpt.jaxb.core/schema/jaxbPlatforms.exsd @@ -0,0 +1,221 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!-- Schema file written by PDE --> +<schema targetNamespace="org.eclipse.jpt.jaxb.core" xmlns="http://www.w3.org/2001/XMLSchema"> +<annotation> + <appinfo> + <meta.schema plugin="org.eclipse.jpt.jaxb.core" id="jaxbPlatforms" name="JAXB Platforms"/> + </appinfo> + <documentation> + This is used for defining JAXB platforms and JAXB platform versions. + </documentation> + </annotation> + + <element name="extension"> + <annotation> + <appinfo> + <meta.element /> + </appinfo> + </annotation> + <complexType> + <choice minOccurs="0" maxOccurs="unbounded"> + <element ref="jaxbPlatformGroup"/> + <element ref="jaxbPlatform"/> + </choice> + <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="jaxbPlatformGroup"> + <annotation> + <documentation> + Declares a JAXB platform group. Acts as a sort of "super" platform. Most useful for enabling functionality for a set of platforms without having to enable the functionality for each platform separately. + </documentation> + </annotation> + <complexType> + <attribute name="id" type="string" use="required"> + <annotation> + <documentation> + The unique identifier for a JAXB platform group. + </documentation> + </annotation> + </attribute> + <attribute name="label" type="string" use="required"> + <annotation> + <documentation> + A translatable string representation of the JAXB platform group. + </documentation> + <appinfo> + <meta.attribute translatable="true"/> + </appinfo> + </annotation> + </attribute> + </complexType> + </element> + + <element name="jaxbPlatform"> + <annotation> + <documentation> + Declares a JAXB platform. One JAXB platform will be selected per JAXB-faceted project. See <samp>org.eclipse.jpt.jaxb.core.JpaPlatform</samp> for more information on JPA platforms. Also see the org.eclipse.jpt.ui.jpaPlatforms extension point. + </documentation> + </annotation> + <complexType> + <attribute name="id" type="string" use="required"> + <annotation> + <documentation> + + </documentation> + </annotation> + </attribute> + <attribute name="label" type="string" use="required"> + <annotation> + <documentation> + A translatable string representation of the platform. + </documentation> + <appinfo> + <meta.attribute translatable="true"/> + </appinfo> + </annotation> + </attribute> + <attribute name="factoryClass" type="string" use="required"> + <annotation> + <documentation> + The class that implements <samp>org.eclipse.jpt.jaxb.core.JpaPlatformDefinitionFactory</samp>. + </documentation> + <appinfo> + <meta.attribute kind="java" basedOn=":org.eclipse.jpt.jaxb.core.JpaPlatformDefinitionFactory"/> + </appinfo> + </annotation> + </attribute> + <attribute name="group" type="string"> + <annotation> + <documentation> + Declares which JAXB platform group this platform belongs to. If none is specified, this platform will be assumed to belong to its own group with the same id. + </documentation> + </annotation> + </attribute> + <attribute name="jaxbFacetVersion" type="string"> + <annotation> + <documentation> + Declares the JAXB facet version for which this platform may be used. If no facet version is specified, this platform is available for all JAXB facet versions. + </documentation> + </annotation> + </attribute> + <attribute name="default" type="boolean" use="default" value="false"> + <annotation> + <documentation> + Declares whether this platform should be used as a default JAXB platform for new JAXB project content. Note that if a workspace contains more than one default platform for a JAXB facet version, one of them will be chosen at random. By default, a platform is not a default platform. + </documentation> + </annotation> + </attribute> + </complexType> + </element> + + <annotation> + <appinfo> + <meta.section type="since"/> + </appinfo> + <documentation> + JPT 3.0 + </documentation> + </annotation> + + <annotation> + <appinfo> + <meta.section type="examples"/> + </appinfo> + <documentation> + <br> +<p> +The following example is the included generic JAXB 2.2 platform and its platform group +<p> +<pre> +<extension point="org.eclipse.jpt.jaxb.core.jaxbPlatforms"> + + <jaxbPlatformGroup + id="generic" + label="%GENERIC_PLATFORM_GROUP_LABEL"/> + + <jaxbPlatform + id="generic_2_2" + label="%GENERIC_2_2_PLATFORM_LABEL" + factoryClass="org.eclipse.jpt.jaxb.core.internal.jaxb22.Generic_2_2_JaxbPlatformDefinitionFactory" + group="generic" + jaxbFacetVersion="2.2" + default="false"/> + + </extension> + </documentation> + </annotation> + + <annotation> + <appinfo> + <meta.section type="apiinfo"/> + </appinfo> + <documentation> + <br> +Provisional API: This interface is part of an interim API that is still +under development and expected to change significantly before reaching +stability. It is available at this early stage to solicit feedback from +pioneering adopters on the understanding that any code that uses this API +will almost certainly be broken (repeatedly) as the API evolves. + </documentation> + </annotation> + + <annotation> + <appinfo> + <meta.section type="implementation"/> + </appinfo> + <documentation> + <br> +<p>The org.eclipse.jpt.jaxb.core plug-in provides the following jaxb platforms: +<ul> +<li>generic_2_2</li> +</ul> +</p> +<p>and the following jaxb platform groups: +<ul> +<li>generic</li> +</ul> +</p> + </documentation> + </annotation> + + <annotation> + <appinfo> + <meta.section type="copyright"/> + </appinfo> + <documentation> + Copyright (c) 2010 Oracle. All rights reserved. +This program and the accompanying materials are made available under the +terms of the Eclipse Public License v1.0, which accompanies this distribution +and is available at http://www.eclipse.org/legal/epl-v10.html. + +Contributors: +Oracle - initial API and implementation + </documentation> + </annotation> + +</schema> |