blob: 199db0ac3b2cb18343c04b844ba1cef172d336bc [file] [log] [blame]
<!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">&lt;!ELEMENT <a name="e.extension">extension</a> (<a href="#e.initializer">initializer</a>*)&gt;</p>
<p class="code SchemaDtd">&lt;!ATTLIST extension</p>
<p class="code SchemaDtdAttlist">point&nbsp;CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">id&nbsp;&nbsp;&nbsp;&nbsp;CDATA #IMPLIED</p><p class="code SchemaDtdAttlist">name&nbsp;&nbsp;CDATA #IMPLIED</p>&gt;</p>
<p></p>
<ul class="ConfigMarkupAttlistDesc">
</ul>
<br><p class="code SchemaDtd">&lt;!ELEMENT <a name="e.initializer">initializer</a> EMPTY&gt;</p>
<p class="code SchemaDtd">&lt;!ATTLIST initializer</p>
<p class="code SchemaDtdAttlist">annotation&nbsp;IDREF #REQUIRED</p><p class="code SchemaDtdAttlist">class&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #REQUIRED</p>&gt;</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">
&lt;extension point=</span><span class="code SchemaCstring">&quot;org.eclipse.jst.ws.annotations.core.annotationInitializer&quot;</span><span class="code SchemaTag">&gt;
&lt;initializer
annotation=</span><span class="code SchemaCstring">&quot;javax.jws.WebService&quot;</span><span class="code SchemaTag">
class=</span><span class="code SchemaCstring">&quot;org.eclipse.jst.ws.internal.jaxws.core.annotations.initialization.WebServiceAttributeInitializer&quot;</span><span class="code SchemaTag">&gt;
&lt;/initializer&gt;
&lt;/extension&gt;
</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>