Hi all,
        i am trying to translate my XSL stylesheet for generating MBeans
into an XDoclet template...
but, since i m quite new, i need some help on following issues:
- i have build an array with all method parameter names.

the array will be like following

String[] array = {methodParam1, methodParam2, methodParam3};

so, comma separated...

but when is the last parameter i dont' have to add the comma..

how can i say it in XDoclet template?

what i have written so far is the following..

<XDtMethod:ifHasMethodTag tagName="jmx:managed-operation">
             String[] <XDtMethod:methodName/>ParamNames = {
               
<XDtParameter:forAllMethodParams>"<XDtParameter:methodParamName/>",</XDtParameter:forAllMethodParams>};

             String[] <XDtMethod:methodName/>ParamTypes = {
               
<XDtParameter:forAllMethodParams>"<XDtParameter:methodParamType/>",</XDtParameter:forAllMethodParams>};
                           
</XDtMethod:ifHasMethodTag>

But of course this add the comma also to the last one...

any help?

regards
        marco




> -----Original Message-----
> From: ext [mailto:[EMAIL PROTECTED]
> Sent: 21 June, 2003 19:04
> To: [EMAIL PROTECTED]
> Subject: [Xdoclet-user] custom JMX tag for generating Dynamic MBean
> 
> 
>  hi all,
>       i m new with XDoclet.. i  have written an application 
>  that using XML and XSL will
>  generate the code for a dynamic MBean
>  when posting my code on mailing lists, i got the suggestion 
>  to try to make it an XDoclet task..
>  but i dont' know where to start
>  i have read architecture docs, but it's not very clear to me
>  
>  anyone can provide me a starting lists of things to do to 
>  create my own task?
>  
>  thanx and regards
>       marco
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: INetU
> Attention Web Developers & Consultants: Become An INetU 
> Hosting Partner.
> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly 
> Commission!
> INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> _______________________________________________
> xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> 


-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to