blob: 34c1749c288286d8e33c02f6322fb818e81b8745 [file] [log] [blame]
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.jst.ws.annotations.core" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appinfo>
<meta.schema plugin="org.eclipse.jst.ws.annotations.core" id="annotationDefinition" name="Annotation Definition"/>
</appinfo>
<documentation>
This extension point allows clients to contribute annotations &lt;? extends java.lang.annotation.Annotation&gt; which are in turn consumed by the UI.
</documentation>
</annotation>
<element name="extension">
<annotation>
<appinfo>
<meta.element />
</appinfo>
</annotation>
<complexType>
<sequence minOccurs="0" maxOccurs="unbounded">
<element ref="annotation" minOccurs="0" 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="annotation">
<complexType>
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
the fully qualified annotation class name that extends &lt;code&gt;java.lang.annotation.Annotation&lt;/code&gt;
</documentation>
<appinfo>
<meta.attribute kind="java" basedOn="java.lang.annotation.Annotation:"/>
</appinfo>
</annotation>
</attribute>
<attribute name="category" type="string" use="required">
<annotation>
<documentation>
the id of a &lt;tt&gt;annotationCategory&lt;/tt&gt;
</documentation>
<appinfo>
<meta.attribute kind="identifier" basedOn="org.eclipse.jst.ws.annotations.core.annotationCategory/category/@id"/>
</appinfo>
</annotation>
</attribute>
<attribute name="name" type="string" use="required">
<annotation>
<documentation>
The simple name of the annotation class.
</documentation>
</annotation>
</attribute>
<attribute name="restrictedTo">
<annotation>
<documentation>
Used in addition to the java.lang.annotation.ElementType (s) that are specifed in the @TARGET on the contributed annotation to further restrict visiblity in the UI.
</documentation>
</annotation>
<simpleType>
<restriction base="string">
<enumeration value="CLASS_ONLY">
</enumeration>
<enumeration value="INTERFACE_ONLY">
</enumeration>
<enumeration value="ENUM_ONLY">
</enumeration>
</restriction>
</simpleType>
</attribute>
</complexType>
</element>
<annotation>
<appinfo>
<meta.section type="examples"/>
</appinfo>
<documentation>
The following is an example of an annotation definition contribution:
&lt;p&gt;
&lt;pre&gt;
&lt;extension point=&quot;org.eclipse.jst.ws.annotations.core.annotationDefinition&quot;&gt;
&lt;annotation
category=&quot;jaxws.category&quot;
class=&quot;javax.jws.WebService&quot;
name=&quot;WebService&quot;&gt;
&lt;/annotation&gt;
&lt;/extension&gt;
&lt;/pre&gt;
&lt;/p&gt;
</documentation>
</annotation>
<annotation>
<appinfo>
<meta.section type="copyright"/>
</appinfo>
<documentation>
Copyright (c) 2009 Shane Clarke. &lt;br&gt;
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 &lt;a href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
</documentation>
</annotation>
</schema>