How to add an XDoclet style Javadoc

Abstract: How to add an XDoclet style Javadoc

Instructions to set a XDoclet style Javadoc tag:

Example:

TAG: ejb.bean
ATTRIBUTE: type
VALUE: CMP

To add the tag in the above example, you can use the following steps:

Right-click on an appropriate method signature in the Editor and choose: New | Javadoc for method "<your method name>". Click on Add..., and in the Add Javadoc Tag dialog, click in the Tag field and enter: ejb.bean. Next, click on the New... button, and in the Create Attribute dialog, enter: Name: type, Value: CMP.

The Add Javadoc Tag dialog allow you to add multiple attributes for a given tag.

The above example will produce the following Javadoc for the method:

/**
* myEJBmethod
*
* @throws RemoteException
* @ejb.bean type = CMP
*/