Re: custom metatdata attributes

Peter Donald <[email protected]> Wed, 8 Jan 2003 16:23:09 +1100
Newsgroups gmane.comp.jakarta.avalon.apps.devel,gmane.comp.jakarta.avalon.devel
Message-ID <[email protected]>
Hi,

On Wed, 8 Jan 2003 03:44, Leo Simons wrote:
> /** @attribute SomeClassNameAttribute("blaat") */

I actually dislike that approach immensly ;) The way I have been doing it is 
basically runtime access to javadocs with two different styles. 

* Tags with parameters. ie 

@avalon.service type="Foo" optional="true"

* Tags with raw text. ie

@description Here is a description of the gratest song in the world.

This is the same approach xdoclet uses and it seems to work well!

-- 
Cheers,

Peter Donald
-----------------------------------------------
|  If you turn on the light quickly enough,   |
|    you can see what the dark looks like.    |
-----------------------------------------------