Update of /cvsroot/xdoclet/xdoclet/core/src/xdoclet
In directory sc8-pr-cvs1:/tmp/cvs-serv21979/xdoclet/core/src/xdoclet
Modified Files:
XDocletTagSupport.java
Log Message:
Add method to turn params into fully qualified class names if expandClassName=true is
supplied: use it in class params and change field params to use it.
Index: XDocletTagSupport.java
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet/core/src/xdoclet/XDocletTagSupport.java,v
retrieving revision 1.57
retrieving revision 1.58
diff -C2 -r1.57 -r1.58
*** XDocletTagSupport.java 12 Dec 2002 18:27:55 -0000 1.57
--- XDocletTagSupport.java 22 Dec 2002 06:29:03 -0000 1.58
***************
*** 239,242 ****
--- 239,260 ----
/**
+ * The <code>getExpandedDelimitedTagValue</code> method returns a delimited
+version with class names expanded if
+ * requested of the tag value.
+ *
+ * @param attributes a <code>Properties</code> value
+ * @param forType an <code>int</code> value
+ * @return a <code>String</code> value
+ * @exception XDocletException if an error occurs
+ */
+ protected static String getExpandedDelimitedTagValue(Properties attributes, int
+forType) throws XDocletException
+ {
+ String tagValue = getTagValue(attributes, forType);
+
+ tagValue = delimit(tagValue, attributes);
+ tagValue = expandClassName(tagValue, attributes);
+ return tagValue;
+ }
+
+ /**
* Return the Value of a tag specified in a Properties object. This method work
on the currentTag object variable,
* matchs it against the XTag specified in the attributes Properties and returns
the value of the specified tag.
-------------------------------------------------------
This SF.NET email is sponsored by: Order your Holiday Geek Presents Now!
Green Lasers, Hip Geek T-Shirts, Remote Control Tanks, Caffeinated Soap,
MP3 Players, XBox Games, Flying Saucers, WebCams, Smart Putty.
T H I N K G E E K . C O M http://www.thinkgeek.com/sf/
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel