Hi, I'm looking to find a way to find a specific method and to write it on the file which is generated :
<< <XDtMethod:forAllMethods> <XDtMethod:ifHasMethod name="ejbCreate"> public <XDtMethod:methodType/> ejbCreate(<XDtParameter:forAllMethodParams><XDtParameter:parameterList includeDefinition="true"/></XDtParameter:forAllMethodParams>) <XDtMethod:exceptionList/> { .... } </XDtMethod:ifHasMethod> </XDtMethod:forAllMethods> >> However, this seems to be a block template for the class and not for the method, indeed, regarding the documentation, it seems to look on all the class not in the current method analysed like other tags like Parameter or methodType. Does a method which really is a block template for current method exists ? (I saw that in xdoclet 1.2 but currently using xdoclet1.1.2) ? Regards, Denis Boutin. ifHasMethod (block template) Evaluate the body if current class has a method with the specified name+parameters. If parameters not specified then any method with the given name and any set of parameters is considered equal to the given method name and so the test result is positive and the body is evaluated. This method does not change the current method to the one specified. name The name of the method we're searching for its existence in current class. [parameters] We're searching for a method that has the exact set of parameters specified in parameters param. [delimiter] The parameters param is delimited by the string specified in delimiter parameter. ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id66&op=click _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user