Hello, I am attempting to use XDoclet to generate some javabeans from
static methods. I am an XDoclet newbie and I am just learning the .xdt
language. How can one capitalize a word in order to construct getters and
setters?
For example, if the static method is
public class Functions{
...
static public double add(int first, double second){
return first + second;
}
...
}
I want to generate a javabean class that contains the getter method for
"first"...
public int getFirst(){
return int;
}
My attempt...
public <XDtParameter:methodParamType/> get<XDtParameter:methodParamName/>(){
return <XDtParameter:methodParamName/>;
}
produces...
public int getfirst(){
return first;
}
Close. How can I change my .xdt to capitalize "first" to get "getFirst()"
instead of "getfirst()"?
Brian
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user