| <?xml version='1.0' encoding='UTF-8'?> |
| <!-- Schema file written by PDE --> |
| <schema targetNamespace="org.eclipse.jst.jsf.core"> |
| <annotation> |
| <appInfo> |
| <meta.schema plugin="org.eclipse.jst.jsf.core" id="pluginProvidedJsfLibraries" name="JSF Libraries"/> |
| </appInfo> |
| <documentation> |
| This extension point allows clients to create named sets of jars for use with JavaServer Faces Applications. |
| |
| <p><b>This extension point is provisional and subject to change</b></p> |
| </documentation> |
| </annotation> |
| |
| <element name="extension"> |
| <complexType> |
| <sequence> |
| <element ref="jsfLibrary" minOccurs="0" maxOccurs="unbounded"/> |
| </sequence> |
| <attribute name="point" type="string" use="required"> |
| <annotation> |
| <documentation> |
| |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="id" type="string" use="required"> |
| <annotation> |
| <documentation> |
| |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="name" type="string"> |
| <annotation> |
| <documentation> |
| |
| </documentation> |
| <appInfo> |
| <meta.attribute translatable="true"/> |
| </appInfo> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="jsfLibrary"> |
| <annotation> |
| <appInfo> |
| <meta.element labelAttribute="name"/> |
| </appInfo> |
| <documentation> |
| A named collection of jars that will be added to the classpath as a classpath container to a project that references it. |
| </documentation> |
| </annotation> |
| <complexType> |
| <attribute name="name" type="string" use="required"> |
| <annotation> |
| <documentation> |
| A unique, non-translatable, name for the library. The plugin developer is responsible for ensuring uniqueness within the plugin. This name, in combination with the plugin id, is used to identify the classpath container reference. |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="label" type="string"> |
| <annotation> |
| <documentation> |
| Translatable string for displaying the library name. |
| </documentation> |
| <appInfo> |
| <meta.attribute translatable="true"/> |
| </appInfo> |
| </annotation> |
| </attribute> |
| <attribute name="isImplementation" type="boolean" use="required"> |
| <annotation> |
| <documentation> |
| Flag indicating that this libary is declared to be a JSF implementation and not just a JSF component library. |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="maxVersionSupported"> |
| <annotation> |
| <documentation> |
| Used to declare which JSF specification this library will support. |
| </documentation> |
| </annotation> |
| <simpleType> |
| <restriction base="string"> |
| <enumeration value="v1_1"> |
| </enumeration> |
| <enumeration value="v1_2"> |
| </enumeration> |
| <enumeration value="UNKNOWN"> |
| </enumeration> |
| </restriction> |
| </simpleType> |
| </attribute> |
| <attribute name="archiveFilesDelegate" type="string" use="required"> |
| <annotation> |
| <documentation> |
| class that must extend org.eclipse.jst.jsf.core.jsflibraryregistry.JSFLibraryArchiveFilesDelegate to supply a collection of IPaths to jars in the library |
| </documentation> |
| <appInfo> |
| <meta.attribute kind="java" basedOn="org.eclipse.jst.jsf.core.jsflibraryregistry.PluginProvidedJSFLibraryArchiveFilesDelegate"/> |
| </appInfo> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="since"/> |
| </appInfo> |
| <documentation> |
| 2.0 |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="examples"/> |
| </appInfo> |
| <documentation> |
| The following is an example of usage of pluginProvidedJsfLibraries extension point: |
| |
| <p> |
| <pre> |
| <extension point="org.eclipse.jst.jsf.core.pluginProvidedJsfLibraries"> |
| <jsfLibrary |
| name="MyComponentLib1" |
| label="%MyComponentLib1.translatableLabel" |
| isImplementation="false" |
| maxVersionSupported="v1_1" |
| archiveFilesDelegate="com.acme.jsf.libraries.MyComponentLibraryFiles"/> |
| </extension> |
| </pre> |
| </p> |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="apiInfo"/> |
| </appInfo> |
| <documentation> |
| 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.PluginProvidedJSFLibraryJarFilesDelegate</code> and has a public 0-arg constructor. |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="implementation"/> |
| </appInfo> |
| <documentation> |
| none |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="copyright"/> |
| </appInfo> |
| <documentation> |
| Copyright (c) 2007 Oracle Corporation. |
| 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 |
| http://www.eclipse.org/legal/epl-v10.html |
| |
| Contributors: |
| Gerry Kessler - initial API and implementation |
| </documentation> |
| </annotation> |
| |
| </schema> |