| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| <HTML> |
| <HEAD><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| <title>Annotation Initializer</title> |
| <style type="text/css">@import url("../../book.css");</style> |
| <style type="text/css">@import url("../../schema.css");</style> |
| </HEAD> |
| <BODY> |
| <H1 style="text-align:center">Annotation Initializer</H1> |
| <p></p> |
| <h6 class="CaptionFigColumn SchemaHeader">Identifier: </h6>org.eclipse.jst.ws.annotations.core.annotationInitializer<p></p> |
| <h6 class="CaptionFigColumn SchemaHeader">Since: </h6>1.0 |
| <p></p> |
| |
| <h6 class="CaptionFigColumn SchemaHeader">Description: </h6>This extension point allows clients to associate an annotation initializer with an annotation definition. |
| |
| The annotation initializers role is to construct values for the annotations member value pairs.<p></p> |
| <h6 class="CaptionFigColumn SchemaHeader">Configuration Markup:</h6> |
| <p></p> |
| <p class="code SchemaDtd"><!ELEMENT <a name="e.extension">extension</a> (<a href="#e.initializer">initializer</a>*)></p> |
| <p class="code SchemaDtd"><!ATTLIST extension</p> |
| <p class="code SchemaDtdAttlist">point CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">id CDATA #IMPLIED</p><p class="code SchemaDtdAttlist">name CDATA #IMPLIED</p>></p> |
| <p></p> |
| <ul class="ConfigMarkupAttlistDesc"> |
| </ul> |
| <br><p class="code SchemaDtd"><!ELEMENT <a name="e.initializer">initializer</a> EMPTY></p> |
| <p class="code SchemaDtd"><!ATTLIST initializer</p> |
| <p class="code SchemaDtdAttlist">annotation IDREF #REQUIRED</p><p class="code SchemaDtdAttlist">class CDATA #REQUIRED</p>></p> |
| <p></p> |
| <ul class="ConfigMarkupAttlistDesc"> |
| <li><b>annotation</b> - the class name of the annotation definition that this initializers handles.</li> |
| <li><b>class</b> - the name of the class that implements the contributed initializer. The |
| class must be a public and extend |
| <code>org.eclipse.jst.ws.annotations.core.initialization.AnnotationAttributeInitializer</code> with a public 0-argument constructor.</li> |
| </ul> |
| <br><h6 class="CaptionFigColumn SchemaHeader">Examples: </h6>The following is an example of an annotation initializer contribution: |
| |
| <p> |
| <pre class="Example"><span class="code SchemaTag"> |
| <extension point=</span><span class="code SchemaCstring">"org.eclipse.jst.ws.annotations.core.annotationInitializer"</span><span class="code SchemaTag">> |
| <initializer |
| annotation=</span><span class="code SchemaCstring">"javax.jws.WebService"</span><span class="code SchemaTag"> |
| class=</span><span class="code SchemaCstring">"org.eclipse.jst.ws.internal.jaxws.core.annotations.initialization.WebServiceAttributeInitializer"</span><span class="code SchemaTag">> |
| </initializer> |
| </extension> |
| </span></pre> |
| </p> |
| <p></p> |
| |
| <br> |
| <p class="note SchemaCopyright"> |
| Copyright (c) 2009 Shane Clarke. <br> |
| 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 <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a> |
| |
| </p> |
| </BODY> |
| </HTML> |