<!ELEMENT extension (javadoc+)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ATTLIST javadoc
path CDATA #REQUIRED
archive (true | false) "false">
path
is a URL or a path that is relative to the plug-in declaring the extension.false
. This attribute should be used only if the path
attribute specifies a relative path. This attribute has no effect if the path
attribute specifies a URL.<!ELEMENT plugin EMPTY>
<!ATTLIST plugin
id CDATA #REQUIRED>
path
attributejavadoc
extension:
<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>In this example, the javadoc for two plug-ins:
com.example.abc
and com.example.def
have their javadoc located in a references/api/
directory inside a doc.zip
ZIP file in the plug-in declaring this extension.
The javadoc for plug-in com.example.ghi
is located at http://www.sample-url.org/doc/
.
The javadoc for plug-in com.example.jkl
is located in directory doc
relative to the location of the plug-in declaring this extension.
Copyright (c) 2005 IBM Corporation and others.
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
https://www.eclipse.org/legal/epl-v20.html/
SPDX-License-Identifier: EPL-2.0.