<!ELEMENT extension (javadoc+)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ATTLIST javadoc
path CDATA #REQUIRED
archive (true | false) "false">
path
er en
URL eller en bane som er relativ til plugin-modulen som deklarerer utvidelsen.false
. Dette attributtet bør bare
brukes hvis path
-attributtet oppgir en relativ bane. Attributtet har ingen
virkning hvis path
-attributtet oppgir en URL.<!ELEMENT plugin EMPTY>
<!ATTLIST plugin
id CDATA #REQUIRED>
path
-attributtet.javadoc
-utvidelsen:
Dette eksempelet inneholder javadoc for to plugin-moduler:<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>
com.example.abc
og com.example.xyz
har javadoc plassert i
en references/api/
-katalog i en doc.zip
-fil i plugin-modulen som deklarerer denne utvidelsen. Javadoc for plugin-modulen com.example.ghi
er plassert i http://www.sample-url.org/doc/
. Javadoc for plugin-modulen com.example.jkl
er plassert i katalogen doc
som er relativ
til plasseringen av plugin-modulen som deklarerer denne utvidelsen.
Copyright (c) 2005 IBM Corporation and others.
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.