blob: 78cda575716feb1668c1c8de10916d53bb655485 [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>JSF Libraries</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">JSF Libraries</H1>
<p></p>
<h6 class="CaptionFigColumn SchemaHeader">Identifier: </h6>org.eclipse.jst.jsf.core.jsfLibraries<p></p>
<h6 class="CaptionFigColumn SchemaHeader">Since: </h6>1.5
<p></p>
<h6 class="CaptionFigColumn SchemaHeader">Description: </h6>This extension point allows clients to create named sets of jars for use with JavaServer Faces Applications.
<b>Deprecated</b> - adopters should now use <code>org.eclipse.jst.jsf.core.pluginProvidedJsfLibraries</code><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.jsfLibrary">jsfLibrary</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 #REQUIRED</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.jsfLibrary">jsfLibrary</a> EMPTY&gt;</p>
<p class="code SchemaDtd">&lt;!ATTLIST jsfLibrary</p>
<p class="code SchemaDtdAttlist">name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">isImplementation&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(true | false) </p><p class="code SchemaDtdAttlist">maxVersionSupported&nbsp;&nbsp;(v1_1|v1_2|UNKNOWN) </p><p class="code SchemaDtdAttlist">archiveFilesDelegate&nbsp;CDATA #REQUIRED</p>&gt;</p>
<p></p>
<p class="ConfigMarkupElementDesc">
A named collection of jars that will be added to the classpath as a classpath container to a project that references it.</p>
<br>
<ul class="ConfigMarkupAttlistDesc">
<li><b>name</b> - A unique name for the library.</li>
<li><b>isImplementation</b> - Flag indicating that this libary is declared to be a JSF implementation and not just a JSF component library.</li>
<li><b>maxVersionSupported</b> - Used to declare which JSF specification this library will support.</li>
<li><b>archiveFilesDelegate</b> - class that must extend org.eclipse.jst.jsf.core.jsflibraryregistry.JSFLibraryArchiveFilesDelegate to supply a collection of ArchiveFiles for the library</li>
</ul>
<br><h6 class="CaptionFigColumn SchemaHeader">Examples: </h6>The following is an example of usage of pluginProvidedJsfLibraries extension point:
<p>
<pre class="Example"><span class="code SchemaTag">
&lt;extension point=</span><span class="code SchemaCstring">&quot;org.eclipse.jst.jsf.core.jsfLibraries&quot;</span><span class="code SchemaTag">&gt;
&lt;jsfLibrary
name=</span><span class="code SchemaCstring">&quot;MyComponentLib1&quot;</span><span class="code SchemaTag">
isImplementation=</span><span class="code SchemaCstring">&quot;false&quot;</span><span class="code SchemaTag">
maxVersionSupported=</span><span class="code SchemaCstring">&quot;v1_1&quot;</span><span class="code SchemaTag">
archiveFilesDelegate=</span><span class="code SchemaCstring">&quot;com.acme.jsf.libraries.MyComponentLibraryFiles&quot;</span><span class="code SchemaTag">/&gt;
&lt;/extension&gt;
</span></pre>
</p>
<p></p>
<h6 class="CaptionFigColumn SchemaHeader">API Information: </h6>Value of the attribute class must be a fully qualified name of a Java class that extends the abstract class <code>org.eclipse.jst.jsf.core.jsflibraryregistry.JSFLibraryArchiveFilesDelegate</code> and has a public 0-arg constructor.
<p></p>
<h6 class="CaptionFigColumn SchemaHeader">Supplied Implementation: </h6>none
<p></p>
<br>
<p class="note SchemaCopyright">
Copyright (c) 2005, 2007 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
http://www.eclipse.org/legal/epl-2.0/
Contributors:
Gerry Kessler - initial API and implementation
</p>
</BODY>
</HTML>