On Thursday, February 27, 2003, at 03:50 PM, Raible, Matt wrote:
I'm trying to use:

<XDtMethod:methodType fullQualifiedFormat="false"/>

in a custom .xdt template to only render the short name (i.e. String vs.
java.lang.String) of a method's return type. No luck - is my syntax wrong?



Just a quick look at the source code (MethodTagsHandler):


public String methodType(Properties attributes) throws XDocletException
{
return getMethodTypeFor(getCurrentMethod());
}


tells me that all attributes on <XDtMethod:methodType> are ignored.

The documentation is inaccurate, and I'm guessing the next update will correct it. It seems that this functionality has been removed, although it'd be easy enough to write a tag handler to return the unqualified name too:

getCurrentMethod().getReturnType().getName()

Erik



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to