> Also, could something like this go into the default template? I'm
willing
> to create a patch when I get it to work.
> 
> My template:
> <XDtField:forAllFields>
>    <XDtField:ifHasFieldTag tagName="ejb:interface-field">
>     <XDtField:fieldComment indent="3"/>
>     public <XDtField:fieldType/> <XDtField:fieldName/> = Don't know
what
> to
> write here;
> 
>    </XDtField:ifHasFieldTag>
> </XDtField:forAllFields>

Well, about the "Don't know what to write here;" the answer is you can't
because javdoc's doclet api doesn't have a method to retrieve that.
Hopefully xdoclet's xjavadoc api will let you do that. But for the time
being, you can follow Dmitri's proposal (@ejb:interface-constant
view-type="local" declaration="String FOO = \"bar\""), though it's ugly
imho.

Ara.



_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to