| <?xml version='1.0' encoding='UTF-8'?>
|
| <!-- Schema file written by PDE -->
|
| <schema targetNamespace="org.eclipse.pde.core" xmlns="http://www.w3.org/2001/XMLSchema">
|
| <annotation>
|
| <appInfo>
|
| <meta.schema plugin="org.eclipse.pde.core" id="javadoc" name="Javadoc Attachments"/>
|
| </appInfo>
|
| <documentation>
|
| This extension point associates plug-ins with the javadoc location of the code they contain. PDE uses these mappings to automatically attach javadoc to plug-in libraries when it computes a plug-in's classpath.
|
| </documentation>
|
| </annotation>
|
|
|
| <element name="extension">
|
| <annotation>
|
| <appInfo>
|
| <meta.element />
|
| </appInfo>
|
| </annotation>
|
| <complexType>
|
| <sequence>
|
| <element ref="javadoc" 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="javadoc">
|
| <complexType>
|
| <sequence>
|
| <element ref="plugin" minOccurs="1" maxOccurs="unbounded"/>
|
| </sequence>
|
| <attribute name="path" type="string" use="required">
|
| <annotation>
|
| <documentation>
|
| The <code>path</code> is a URL or a path that is relative to the plug-in declaring the extension.
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| <attribute name="archive" type="boolean" use="default" value="false">
|
| <annotation>
|
| <documentation>
|
| an optional attribute indicating if the javadoc is located inside an archive. If not specified, the default is <code>false</code>. This attribute should be used only if the <code>path</code> attribute specifies a relative path. This attribute has no effect if the <code>path</code> attribute specifies a URL.
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| </complexType>
|
| </element>
|
|
|
| <element name="plugin">
|
| <complexType>
|
| <attribute name="id" type="string" use="required">
|
| <annotation>
|
| <documentation>
|
| the id of the plug-in whose javadoc location is specified by the <code>path</code> attribute
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| </complexType>
|
| </element>
|
|
|
| <annotation>
|
| <appInfo>
|
| <meta.section type="apiInfo"/>
|
| </appInfo>
|
| <documentation>
|
| No Java code is required for this extension point.
|
| </documentation>
|
| </annotation>
|
|
|
| <annotation>
|
| <appInfo>
|
| <meta.section type="since"/>
|
| </appInfo>
|
| <documentation>
|
| 3.2
|
| </documentation>
|
| </annotation>
|
|
|
| <annotation>
|
| <appInfo>
|
| <meta.section type="examples"/>
|
| </appInfo>
|
| <documentation>
|
| The following is an example of the <code>javadoc</code> extension:
|
| <pre>
|
| <extension point="org.eclipse.pde.core.javadoc">
|
| <javadoc path="doc.zip!/references/api/" archive="true">
|
| <plugin id="com.example.abc"/>
|
| <plugin id="com.example.def"/>
|
| </javadoc>
|
|
|
| <javadoc path="http://www.sample-url.org/doc/">
|
| <plugin id="com.example.ghi"/>
|
| </javadoc>
|
|
|
| <javadoc path="doc/">
|
| <plugin id="com.example.jkl"/>
|
| </javadoc>
|
| </extension>
|
| </pre>
|
|
|
| In this example, the javadoc for two plug-ins: <code>com.example.abc</code> and <code>com.example.def</code> have their javadoc located in a <code>references/api/</code> directory inside a <code>doc.zip</code> ZIP file in the plug-in declaring this extension.
|
|
|
| The javadoc for plug-in <code>com.example.ghi</code> is located at <code>http://www.sample-url.org/doc/</code>.
|
|
|
| The javadoc for plug-in <code>com.example.jkl</code> is located in directory <code>doc</code> relative to the location of the plug-in declaring this extension.
|
| </documentation>
|
| </annotation>
|
|
|
| <annotation>
|
| <appInfo>
|
| <meta.section type="implementation"/>
|
| </appInfo>
|
| <documentation>
|
| Eclipse SDK comes with ISV documentation plug-ins that use this extension point.
|
| </documentation>
|
| </annotation>
|
|
|
| <annotation>
|
| <appInfo>
|
| <meta.section type="copyright"/>
|
| </appInfo>
|
| <documentation>
|
| Copyright (c) 2005 IBM Corporation and others.
|
| <br>
|
| |
| 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
|
| <a href="https://www.eclipse.org/legal/epl-2.0">https://www.eclipse.org/legal/epl-v20.html</a>/ |
| |
| SPDX-License-Identifier: EPL-2.0.
|
| </documentation>
|
| </annotation>
|
|
|
| </schema>
|