User: rinkrank
  Date: 02/07/09 18:07:01

  Modified:    modules/ejb/src/xdoclet/modules/ejb/entity
                        PersistentTagsHandler.java
  Log:
  Improved tag docs. They now say at what level (class, method, field, constructor) a 
tag belongs. This involves a change in xtags.dtd. There is a new <level> tag which 
more or less replaces the corresponding conditions for class and method. Also added 
"cardinality" - whether a tag can occur more than once. In order to do this I had to 
trade the old XSLT transfromation for Anakia, which is more powerful (at least it 
makes me more powerful ;-)
  
  Revision  Changes    Path
  1.8       +2 -2      
xdoclet/modules/ejb/src/xdoclet/modules/ejb/entity/PersistentTagsHandler.java
  
  Index: PersistentTagsHandler.java
  ===================================================================
  RCS file: 
/cvsroot/xdoclet/xdoclet/modules/ejb/src/xdoclet/modules/ejb/entity/PersistentTagsHandler.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -w -r1.7 -r1.8
  --- PersistentTagsHandler.java        4 Jul 2002 20:31:35 -0000       1.7
  +++ PersistentTagsHandler.java        10 Jul 2002 01:07:01 -0000      1.8
  @@ -27,7 +27,7 @@
    * @author               Ara Abrahamian ([EMAIL PROTECTED])
    * @created              Oct 16, 2001
    * @xdoclet.taghandler   namespace="EjbPersistent"
  - * @version              $Revision: 1.7 $
  + * @version              $Revision: 1.8 $
    */
   public class PersistentTagsHandler extends CmpTagsHandler
   {
  @@ -42,7 +42,7 @@
        */
       public static boolean isPersistentField(XMethod method) throws XDocletException
       {
  -        return method.getDoc().hasTag("ejb:persistent-field");
  +        return method.getDoc().hasTag("ejb:persistent-field") || 
method.getDoc().hasTag("ejb:persistence");
       }
   
   
  
  
  


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Stuff, things, and much much more.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to