Am Mit, 2003-01-08 um 06.23 schrieb Peter Donald:
> 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.
how should this work within a generic implementing of attributes as
serialized objects ?
one thing i could imagine is:
@attribute fqcn field1=value field2=value, .. for initialization
like this
@attribute org.apache.avalon.MyAttribute x="value"
but the same thing could be achieved using the Constructor method:
@attribute org.apache.avalon.MyAttribute( x="value" )
> This is the same approach xdoclet uses and it seems to work well!
I have used xdoclet only in the context of castor once - so I don't know
enough about it.
But I was reading they are doing a complete rewrite for version 2.0 ...
-- Jakob
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>