How to describe your fields and methods
  Like classes you have to comment you fields and methods for the documentation. Except the @nosupperclasses tag you can use the same tags like in the class comments. There are some standard javadoc tags, that are also used by proDOC. The first is the @ param tag to specify the parameters of methods, the second one is the @return tag to specify, what a method returns.
method comment
/**
* Use this method to add a child to an element.
* @param element Element, to add as child
* @example HtmlElement
* @related HtmlElement
* @related addAttribute ( )
* @related countAllChildren ( )
* @related getAttribute ( )
* @related getAttributes ( )
* @related getChildren ( )
* @related getDepth ( )
* @related getSpecificElements ( )
* @related hasAttribute ( )
* @related hasAttributes ( )
* @related hasChildren ( )
* @related kindOfElement
* @related printElementTree ( )
* @related toString ( )
* @related type ( )
*/

public void addChild (Element element) {
children.add(element);
}
/** * Adds an Element to the Children of the Element at the given position
* @param element Element, to add as child
* @param position int, position to where to insert the element.
*/
public void addChild (Element element, int position) {
children.add(position, element);
}
Methods with the same name but different parameter signatures, are documented in one page. You have to make sure that such methods stand in a row. Only the first method has to be completly commented. For all following you only have to insert the parameter descriptions.

If you provide your own template files you have to include four files for the generation of the method and field doc files. Here is an example for the first:
member.htm
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>@title</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="stylesheet.css" rel="stylesheet" type="text/css">
</head>
<body>
<center>
<table width="600" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="100" valign="top" class="header"> <span class="libName">@libname</span><br>
<a href="index.htm">index</a></td>
<td width="450" class="descList">&nbsp;</td>
</tr>
<tr>
<td valign="top" class="mainTextName">Name</td>
<td class="methodName">@name</td>
</tr>
<tr>
<td valign=top class="mainText">Examples</td>
<td valign=top class="descList"><pre>@example</pre></td>
</tr>
<tr>
<td valign=top class="mainText">Description</td>
<td valign=top class="descList">@description</td>
</tr>
<tr>
<td valign=top class="mainText">Syntax</td>
<td valign=top class="descList"><pre>@syntax</pre></td>
</tr>
@parameters
@return
<tr>
<td valign=top class="mainText">Usage</td>
<td class="descList">@usage</td>
</tr>
<tr>
<td valign=top class="mainText">Related</td>
<td class="descList">@related</td>
</tr>
<tr>
<td><img src="video/images/1pix.gif" width="1" height="200"></td>
<td class="descList">&nbsp;</td>
</tr>
</table>
</center>
</body>
</html>
The tags you have to include are nearly the same like in the classtemplate. The member template has no @fields and @methods tag but needs to include the @return tag for inserting the return section of a method.
memberparameters.htm
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<table>
<!--startCell-->
<tr>
<td class="mainText">Parameters</td>
<td valign=top class="descList">
<table border=0 cellspacing=0 cellpadding=0>
@parameter
</table>
</td>
</tr>
<!--endCell-->
</table>
</body>
</html>
memberparameters is the template that is inserted in the @parameters section of the member template. You can build a complete html file for better designing and mark the block with the html comments startcell and endcell linke shown above. Notice the @parameter tag including a further template file named memberparameter.htm.
memberparameter.htm
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<table width=550 border=0 cellspacing=0 cellpadding=0>
<!--startCell-->
<tr>
<td width="70" valign=top>@name</td>
<td width="20">&nbsp;</td>
<td valign=top>@description</td>
</tr>
<!--endCell-->
</table>
</body>
</html>
memberparameter.htm is the template for the parameterlist. it needs two tags, @name for the name of the parameter and @description its description. The last template is memberreturn, for inserting information of the return of a method.
memberreturn.htm
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<table>
<!--startCell-->
<tr>
<td valign=top class="mainText">Returns</td>
<td class="descList">@return</td>
</tr>
<!--endCell-->
</table>
</body>
</html>