4 Copyright (C) 2003 Free Software Foundation, Inc.
6 This file is part of GNU Classpath.
8 GNU Classpath is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2, or (at your option)
13 GNU Classpath is distributed in the hope that it will be useful, but
14 WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with GNU Classpath; see the file COPYING. If not, write to the
20 Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
24 xmlns=
"http://relaxng.org/ns/structure/1.0"
25 xmlns:
a=
"http://relaxng.org/ns/annotation/1.0"
26 xmlns:
gjdoc=
"http://www.gnu.org/software/cp-tools/gjdocxml">
28 <include href=
"gjdoc-common.rng"/>
31 The Relax NG grammar for the XML index file generated by GNU
37 The root element for a Gjdoc index XML document.
40 <element name=
"gjdoc:rootdoc">
42 Corresponds to the Javadoc API RootDoc object, the root of
43 the generated documentation.
47 <ref name=
"specifiedclass-element"/>
51 <ref name=
"specifiedpackage-element"/>
55 <ref name=
"packagedoc-element"/>
59 <ref name=
"classdoc-element"/>
64 <define name=
"containsClass-element">
65 <element name=
"gjdoc:containsClass">
67 Corresponds to a class contained in a package or in
71 <ref name=
"qualifiedtypename-attribute"/>
75 <define name=
"specifiedclass-element">
76 <element name=
"gjdoc:specifiedclass">
78 Corresponds to a class named on the Gjdoc command
79 line. This is a class the user explicitly wants
80 documentation generated for.
83 <attribute name=
"name">
85 The name of the class as given by the user on the command
94 <define name=
"specifiedpackage-element">
95 <element name=
"gjdoc:specifiedpackage">
97 Corresponds to a package named on the Gjdoc command
98 line. This is a package the user explicitly wants
99 documentation generated for.
102 <attribute name=
"name">
104 The full name of the package.
112 <define name=
"packagedoc-element">
113 <element name=
"gjdoc:packagedoc">
115 Corresponds to a package for which XML documentation
116 has been generated. This is not necessarily a package
117 the user requested generation for.
120 <ref name=
"name-attribute"/>
121 <ref name=
"firstSentenceTags-element"/>
124 <ref name=
"containsClass-element"/>
129 <define name=
"classdoc-element">
130 <element name=
"gjdoc:classdoc">
132 Corresponds to a class for which XML documentation has
136 <ref name=
"name-attribute"/>
137 <ref name=
"qualifiedtypename-attribute"/>
141 The following is optional because the root class
142 java.lang.Object does not have a superclass. For all
143 other classes, this element should be specified.
146 <ref name=
"superclass-element"/>
150 <ref name=
"implements-element"/>
154 <ref name=
"superimplements-element"/>
157 <ref name=
"containingPackage-element"/>
160 <ref name=
"isError-element"/>
164 <ref name=
"isException-element"/>
168 <ref name=
"isInterface-element"/>
172 <ref name=
"containsClass-element"/>