Update of /cvsroot/xdoclet/xdoclet/core/src/xdoclet/tagshandler
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26471/core/src/xdoclet/tagshandler
Modified Files:
ClassTagsHandler.java
Log Message:
support for unqualifed classes added (XDT-688)
Index: ClassTagsHandler.java
===================================================================
RCS file:
/cvsroot/xdoclet/xdoclet/core/src/xdoclet/tagshandler/ClassTagsHandler.java,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -r1.24 -r1.25
*** ClassTagsHandler.java 1 Mar 2005 23:59:19 -0000 1.24
--- ClassTagsHandler.java 26 Mar 2005 10:24:36 -0000 1.25
***************
*** 218,222 ****
try {
String fullClassName = getEngine().outputOf(template);
! String result =
fullClassName.substring(fullClassName.lastIndexOf('.') + 1);
getEngine().print(result);
--- 218,228 ----
try {
String fullClassName = getEngine().outputOf(template);
!
! String result = fullClassName;
! int pos = fullClassName.lastIndexOf('.');
!
! if (pos >= 0) {
! result = fullClassName.substring(pos + 1);
! }
getEngine().print(result);
***************
*** 528,533 ****
* @doc.param name="superclasses" values="true,false"
description="If true then traverse
* superclasses also, otherwise look up the tag in current concrete
class only."
! * @doc.param name="mandatory" values="true,false"
description="Generate an error if parameter not specified
! * by user for the tag."
*/
public String classTagValue(Properties attributes) throws XDocletException
--- 534,539 ----
* @doc.param name="superclasses" values="true,false"
description="If true then traverse
* superclasses also, otherwise look up the tag in current concrete
class only."
! * @doc.param name="mandatory" values="true,false"
description="Generate an error if parameter not
! * specified by user for the tag."
*/
public String classTagValue(Properties attributes) throws XDocletException
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
xdoclet-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel