blob: 22c1d320afec4567612bcd0a4502af27e536a0bb [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HEAD><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">@import url("../../book.css");</style>
<style type="text/css">@import url("../../schema.css");</style>
<H1 style="text-align:center">AttributeValueRuntimeTypes</H1>
<h6 class="CaptionFigColumn SchemaHeader">Identifier: </h6>org.eclipse.jst.jsf.core.AttributeValueRuntimeTypes<p></p>
<h6 class="CaptionFigColumn SchemaHeader">Since: </h6>1.5
<h6 class="CaptionFigColumn SchemaHeader">Description: </h6>Defines a mapping between an implementing class and an AttributeValue Runtime type. By categorizing attribute values types in an CMAnnotation file, we can assign types and therefore processing of those types using the CMAnnotation file metadata and context information.
<p><b>This extension point is provisional and subject to change</b></p><p></p>
<h6 class="CaptionFigColumn SchemaHeader">Configuration Markup:</h6>
<p class="code SchemaDtd">&lt;!ELEMENT <a name="e.extension">extension</a> (<a href="#e.attributeValueRuntimeType">attributeValueRuntimeType</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>
<ul class="ConfigMarkupAttlistDesc">
<br><p class="code SchemaDtd">&lt;!ELEMENT <a name="e.attributeValueRuntimeType">attributeValueRuntimeType</a> EMPTY&gt;</p>
<p class="code SchemaDtd">&lt;!ATTLIST attributeValueRuntimeType</p>
<p class="code SchemaDtdAttlist">id&nbsp;&nbsp;&nbsp;&nbsp;CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">class&nbsp;CDATA #IMPLIED</p>&gt;</p>
<p class="ConfigMarkupElementDesc">
The MetaDataEnabledRuntimeTypeProcessing framework will use the value found on the attribute-value-runtime-value property of a cm-attribute annoation to bind to a class that implements the type. That type may be able to provide processing for ContentAssist, Validation, Quick Fix/Quick Assist, or other context sensitive operations.</p>
<ul class="ConfigMarkupAttlistDesc">
<li><b>id</b> - unique id for the type within the extending plugin</li>
<li><b>class</b> - Class that will be used to implement the type. It must implement <code>org.eclipse.jst.jsf.metadataprocessors.IMetaDataEnabledFeature</code> and it is recommended that the user extend the <code>org.eclipse.jst.jsf.metadataprocessors.AbstractRootTypeDescriptor</code> or one of its subclasses.</li>
<br><h6 class="CaptionFigColumn SchemaHeader">Examples: </h6>see org.eclipse.jst.jsf.taglibprocessing plugin for examples of usage
<h6 class="CaptionFigColumn SchemaHeader">API Information: </h6>cm-attribute annotation elements can have an "attribute-value-runtime-type" property that maps to the id of this ext-pt. The property must be fully qualified with the extender's plugin id. i.e. if type is FooType, the property value must be
<p class="note SchemaCopyright">
Copyright (c) 2006 Oracle Corporation.
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
Gerry Kessler/Oracle - initial API and implementation