# Annotation Processor

###### Identifier:

org.eclipse.jst.ws.annotations.core.annotationProcessor

###### Since:

1.0

###### Description:

This extension point allows clients to contribute annotation procesoors. These processors are associated with contributed annotation definitions. The goal of the processor is to validate annotation rules.

###### Configuration Markup:

<!ELEMENT extension (processor*)>

<!ATTLIST extension

point CDATA #REQUIRED

id CDATA #IMPLIED

name CDATA #IMPLIED

>

<!ELEMENT processor (description?)>

<!ATTLIST processor

annotation IDREF #REQUIRED

class CDATA #REQUIRED

>

- annotation - the class name of the annotation definition that this processor handles.
- class - the name of the class that implements the contributed procesor. The class must be a public subclass of `org.eclipse.jst.ws.annotations.core.processor.AbstractAnnotationProcessor`and must have a public 0-argument constructor.

<!ELEMENT description (#PCDATA)>

An optional attribute to hold a short text describing what "rule" the processor handles.

###### Examples:

The following is an example of an annotation processor contribution:

       <extension point="org.eclipse.jst.ws.annotations.core.annotationProcessor">
          <processor
                annotation="javax.jws.WebService"
                class="org.eclipse.jst.ws.internal.jaxws.core.annotations.validation.WebServiceSEIPresentNoWebMethodRule">
             <description>
                %WEBSERVICE_SEI_NO_WEBMETHOS_RULE
             </description>
          </processor>
       </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 2.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-2.0/