| <?xml version='1.0' encoding='UTF-8'?> |
| <!-- Schema file written by PDE --> |
| <schema targetNamespace="org.eclipse.jst.jsf.common"> |
| <annotation> |
| <appInfo> |
| <meta.schema plugin="org.eclipse.jst.jsf.common" id="annotationFiles" name="Annotation Files"/> |
| </appInfo> |
| <documentation> |
| Adds annotation meta-data to a content model. An extending plugin may only create one annotation file for a given URI. |
| |
| <p><b>This extension point is provisional and subject to change</b></p> |
| </documentation> |
| </annotation> |
| |
| <element name="extension"> |
| <complexType> |
| <sequence> |
| <element ref="annotationFile" minOccurs="1" maxOccurs="unbounded"/> |
| </sequence> |
| <attribute name="point" type="string" use="required"> |
| <annotation> |
| <documentation> |
| |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="id" type="string"> |
| <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="annotationFile"> |
| <annotation> |
| <documentation> |
| File used to map annotations to a tag library content model. The file assigns properties to a tag element or attribute. |
| </documentation> |
| </annotation> |
| <complexType> |
| <attribute name="uri" type="string" use="required"> |
| <annotation> |
| <documentation> |
| Content model URI being annotated. eg. "http://java.sun.com/jsf/core". This can, of course, be any string that the consumer wishes to use as a key. |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="location" type="string" use="required"> |
| <annotation> |
| <documentation> |
| Location of the annotation file. If no locator is provided, it will use the default <code>CMPluginRelativeSourceFileLocator</code> which will find the file in a location relative to the plugin. |
| eg. /metadata/jsf_core.xml |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="locator" type="string"> |
| <annotation> |
| <documentation> |
| Class implementing the abstract <code>CMAnnotationSourceFileLocator</code> class. Responsible for locating the annotation file and returning an InputStream to the parser and returning a <code>ResourceBundle</code> if there is one. If a locator is not supplied, the default implementation for a plugin relative file, <code>CMPluginRelativeSourceFileLocator</code> will be used. |
| </documentation> |
| <appInfo> |
| <meta.attribute kind="java" basedOn="org.eclipse.jst.jsf.contentmodel.annotation.CMAnnotationSourceFileLocator:org.eclipse.jst.jsf.contentmodel.annotation.ICMAnnotationFileParser"/> |
| </appInfo> |
| </annotation> |
| </attribute> |
| <attribute name="parser" type="string"> |
| <annotation> |
| <documentation> |
| The name of the parser class used to fill the internal model. If not specified the default, <code>CMAnnotationFileParser</code>, will be used which conforms to the default schema <code>http://org.eclipse.jst.jsf.contentmodel.annotations/grammarAnnotationSchema</code>. If parser is provided, it must implement <code>ICMAnnotationFileParser</code>. |
| </documentation> |
| <appInfo> |
| <meta.attribute kind="java" basedOn="org.eclipse.jst.jsf.contentmodel.annotation.CMAnnotationSourceFileLocator:org.eclipse.jst.jsf.contentmodel.annotations.ICMAnnotationFileParser"/> |
| </appInfo> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="since"/> |
| </appInfo> |
| <documentation> |
| 1.5 |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="examples"/> |
| </appInfo> |
| <documentation> |
| |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="apiInfo"/> |
| </appInfo> |
| <documentation> |
| The parser, if specified, must implement <code>ICMAnnotationFileParser</code> to create <code>CMElementAnnotation</code> and <code>CMAttributeAnnotations</code> in the <code>CMAnnotationMap</code>. |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="implementation"/> |
| </appInfo> |
| <documentation> |
| |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="copyright"/> |
| </appInfo> |
| <documentation> |
| Copyright 2006 Oracle |
| 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 |
| </documentation> |
| </annotation> |
| |
| </schema> |