Hi.
you can try qdox ( qdox.codehaus.org ) - it's
parser used by xdoclet-2.
Thanks for the recommendation. Any hint how to parse
doc comments
standalone? The only idea I have is to generate a
fake class source and
parse it.
no hint besides to look into source of qdox :)
Did so, found nothing suitable. :|
Ok, my solution - if anyone will be interested in the similar question:
public static AbstractJavaEntity parseDocletTags(final String comment)
{
final StringBuffer source = new StringBuffer();
source.append("/** ");
source.append(comment);
source.append("*/\n");
source.append("class Fake {}");
javaDocBuilder.addSource(new StringReader(source.toString()));
return javaDocBuilder.getClassByName("Fake");
}
Bye.
/lexi
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user