Annotation Definition

Identifier:
org.eclipse.jst.ws.annotations.core.annotationDefinition

Since:
1.0

Description:
This extension point allows clients to contribute annotations which are in turn consumed by the UI.

Configuration Markup:

<!ELEMENT extension (annotation*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED

>


<!ELEMENT annotation (targetFilter*)>

<!ATTLIST annotation

class        CDATA #REQUIRED

category     IDREF #REQUIRED

name         CDATA #REQUIRED

restrictedTo (CLASS_ONLY|INTERFACE_ONLY|ENUM_ONLY)

>


<!ELEMENT targetFilter EMPTY>

<!ATTLIST targetFilter

target (TYPE|FIELD|METHOD|PARAMETER|CONSTRUCTOR|LOCAL_VARIABLE|ANNOTATION_TYPE|PACKAGE)

>


Examples:
The following is an example of an annotation definition contribution:


   <extension point="org.eclipse.jst.ws.annotations.core.annotationDefinition">
      <annotation
            category="jaxws.category"
            class="javax.jws.WebService"
            name="WebService">
      </annotation>
   </extension>


Copyright (c) 2009 Shane Clarke.
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