I'm finding that XDoclet is very useful beyond EJB.
I am attempting to create getter setters
"forAllFields". It would be nice to have a tag that
created these given a property name. Now I'm just
having trouble getting the first char to be upper case
in the method signatures.
<XDtField:forAllFields>
private String <XDtField:fieldName/>Value;
public void set<XDtField:fieldName/>Value(String s)
{
<XDtField:fieldName/>Value = s;
}
I suppose I'm the one to write a template tag to do
this, so I'll try to get some time, but just a
comment...
I'm noticing the list of template tags could grow very
large. At some point it might just make sense to have
a few tags that allow you to XML'ize the target class,
then point to an XSLT to generate the derived
class(es). The number of template tags will grow and
grow and learning them is worse that a regular
language. Consider looping. We have forAllFields,
forAllMethods, forAllClasses, etc. A looping syntax
for every possible type of collection. EJBDoclet is
cool, but the power of attribute programming is more
in the ability of developers to quickly create new
applications of XDoclet, meaning templates.
__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com
-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing
your web site with SSL, click here to get a FREE TRIAL of a Thawte
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user