Update of /cvsroot/xdoclet/xdoclet/modules/jboss/src/xdoclet/modules/jboss/web In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27290
Modified Files: JBossWebTagsHandler.java Log Message: Fix dodgy EOLs. Index: JBossWebTagsHandler.java =================================================================== RCS file: /cvsroot/xdoclet/xdoclet/modules/jboss/src/xdoclet/modules/jboss/web/JBossWebTagsHandler.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** JBossWebTagsHandler.java 6 Apr 2004 19:14:57 -0000 1.3 --- JBossWebTagsHandler.java 21 Aug 2004 13:11:10 -0000 1.4 *************** *** 1 **** ! /* * Copyright (c) 2001, 2002 The XDoclet team * All rights reserved. */ package xdoclet.modules.jboss.web; import xdoclet.XDocletException; import xdoclet.tagshandler.ClassTagsHandler; /** * @author Marcus Brito ([EMAIL PROTECTED]) * @created September 08, 2002 * @modified Jon Barnett ([EMAIL PROTECTED]) * @xdoclet.taghandler namespace="JBossWeb" * @version $Revision$ */ public class JBossWebTagsHandler extends ClassTagsHandler { /** * Iterates over all [EMAIL PROTECTED] tags. * * @param template The body of the block tag * @throws XDocletException if something goes wrong */ public void forAllResourceRefs(String template) throws XDocletException { ClassTagsHandler.forAllDistinctClassTags(getEngine(), template, "jboss.resource-ref", "res-ref-name"); } /** * Iterates over all [EMAIL PROTECTED] tags. * * @param template The body of the block tag * @throws XDocletException if something goes wrong */ public void forAllEjbRefs(String template) throws XDocletException { ClassTagsHandler.forAllDistinctClassTags(getEngine(), template, "jboss.ejb-ref-jndi", "ref-name"); } /** * Iterates over all [EMAIL PROTECTED] tags. * * @param template The body of the block tag * @throws XDocletException if something goes wrong */ public void forAllLocalRefs(String template) throws XDocletException { ClassTagsHandler.forAllDistinctClassTags(getEngine(), template, "jboss.ejb-local-ref", "ref-name"); } public void forAllResourceEnvRefs(String template) throws XDocletException { ClassTagsHandler.forAllDistinctClassTags(getEngine(), template, "jboss:resource-env-ref", "resource-env-ref-name"); } } \ No newline at end of file --- 1,56 ---- ! /* ! * Copyright (c) 2001, 2002 The XDoclet team ! * All rights reserved. ! */ ! package xdoclet.modules.jboss.web; ! ! import xdoclet.XDocletException; ! import xdoclet.tagshandler.ClassTagsHandler; ! ! /** ! * @author Marcus Brito ([EMAIL PROTECTED]) ! * @created September 08, 2002 ! * @modified Jon Barnett ([EMAIL PROTECTED]) ! * @xdoclet.taghandler namespace="JBossWeb" ! * @version $Revision$ ! */ ! public class JBossWebTagsHandler extends ClassTagsHandler ! { ! /** ! * Iterates over all [EMAIL PROTECTED] tags. ! * ! * @param template The body of the block tag ! * @throws XDocletException if something goes wrong ! */ ! public void forAllResourceRefs(String template) throws XDocletException ! { ! ClassTagsHandler.forAllDistinctClassTags(getEngine(), template, "jboss.resource-ref", "res-ref-name"); ! } ! ! /** ! * Iterates over all [EMAIL PROTECTED] tags. ! * ! * @param template The body of the block tag ! * @throws XDocletException if something goes wrong ! */ ! public void forAllEjbRefs(String template) throws XDocletException ! { ! ClassTagsHandler.forAllDistinctClassTags(getEngine(), template, "jboss.ejb-ref-jndi", "ref-name"); ! } ! ! /** ! * Iterates over all [EMAIL PROTECTED] tags. ! * ! * @param template The body of the block tag ! * @throws XDocletException if something goes wrong ! */ ! public void forAllLocalRefs(String template) throws XDocletException ! { ! ClassTagsHandler.forAllDistinctClassTags(getEngine(), template, "jboss.ejb-local-ref", "ref-name"); ! } ! ! public void forAllResourceEnvRefs(String template) throws XDocletException ! { ! ClassTagsHandler.forAllDistinctClassTags(getEngine(), template, "jboss:resource-env-ref", "resource-env-ref-name"); ! } ! } ------------------------------------------------------- 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-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel