class
or an interface
for a Java APIclass
element in a Java API can have it this order: property
, field
, constructor
, an method
children<api id="java" desc="Java" type="java">
<api id="java" desc="Java" type="java"> ...but you can specify:
<api id="java2" desc="Java" type="java"> ...
APIDocs
element. The children of this element are api
elements, each of these elements specifying one language API. For example:<APIDocs version="1.0"> <api id="mylanguage" desc="Java" type="java"> ... </api> <api id="mySecondlanguage" desc="Python" type="python"> ... </api> </APIDocs>
api
is the specification for one language API. This element has the following attributes:api
has only element
children.<api id="java" desc="Java" type="java"> ..
java
generic API typeelement
is the specification for one element used in an API[3]
method
or class
elementstype
, it is specific to the api
and you can use any name you wantapi
child
elementschild
is an element which is allowed under another parent element. The order of children is significant (it is the order in which the children will be presented in the wiki).element
specified for the associated parent api
class
element can have the following children: property
, field
, constructor
, and method
:<element type="class" name="class" topElement="true"> <children> <child name="property" title="Property Summary" /> <child name="field" title="Fields" /> <child name="constructor" title="Constructor Summary" /> <child name="method" title="Method Summary" /> </children> </element>
method
elements return type and visibility, and all the elements for which the parent type is method
method
elements description, and all the elements for which the parent type is method
argument
elements descriptionconstant
elements values description<element type="method" name="method"> <children> <child name="argument" /> </children> <property id="modifierAndType" desc="Modifier and Type" /> <property id="description" desc="Method and Description" /> <property id="params" desc="Parameters" /> </element>
java
API:<api id="java" desc="Java" type="java"> <element type="class" name="class" topElement="true"> <children> <child name="property" title="Property Summary" /> <child name="field" title="Fields" /> <child name="constructor" title="Constructor Summary" /> <child name="method" title="Method Summary" /> </children> </element> <element type="interface" name="interface" topElement="true"> <children> <child name="method" title="Method Summary" /> </children> </element> <element type="field" name="field"> <property id="modifierAndType" desc="Modifier and Type" /> <property id="description" desc="Field and Description" /> </element> <element type="enum" name="enum" topElement="true"> <children> <child name="constant" title="Enum Constant Summary" /> <child name="method" title="Method Summary" /> </children> <property id="constants" desc="Enum Constants" /> </element> <element type="property" name="property"> <property id="modifierAndType" desc="Type" /> <property id="description" desc="Property and Description" /> </element> <element type="constant" name="constant"/> <element type="method" name="method"> <children> <child name="argument" /> </children> <property id="modifierAndType" desc="Modifier and Type" /> <property id="description" desc="Method and Description" /> <property id="params" desc="Parameters" /> </element> <element type="constructor" name="constructor"> <children> <child name="argument" /> </children> <property id="description" desc="Constructor and Description" /> <property id="params" desc="Parameters" /> </element> <element type="argument" name="argument" /> </api>
java
generic API typemethod
or class
elementsdocJGenerator Copyright (c) 2016-2023 Herve Girod. All rights reserved.