Don't rely too much on those optional arguments of XDocletTagSupport.* methods.
Anyway, I believe you should use getTagsByName. Ara. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:xdoclet-devel- > [EMAIL PROTECTED]] On Behalf Of Vincent Harcq > Sent: Wednesday, February 06, 2002 3:10 AM > To: Devel XDoclet > Subject: [Xdoclet-devel] Need a hint a setMatchValue / XDocletTagSupprt > > Hi, > I am wondering if setMatchValue is deprecated or not. > It is only used in entitypk.j for now > > I need something like thsi on a Method > > /** > * @ejb:data-object name="a" > * @ejb:data-object name="b" > */ > > And the methods of XDocletTagSupport only returns the first one found > > Is it not better to add methods that looks like > > getMethodTagValue( MethodDoc method, String tag_name, String param_name, > int param_num, > String valid_values, String default_value, boolean is_mandatory > , > ==> String paramToMatch, String matchValue) <== > > I can still use DocletUtil.getTagsByName and parse that myself but ... > > Vincent > > > > _______________________________________________ > Xdoclet-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-devel _______________________________________________ Xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
