Update of /cvsroot/xdoclet/xdoclet/modules/xdoclet/src/xdoclet/modules/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13111
Modified Files: AntdocTagsHandler.java Log Message: Fix broken (generated) links in subtask docs for nested elements using inner classes. XDT-1181 Index: AntdocTagsHandler.java =================================================================== RCS file: /cvsroot/xdoclet/xdoclet/modules/xdoclet/src/xdoclet/modules/doc/AntdocTagsHandler.java,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -r1.9 -r1.10 *** AntdocTagsHandler.java 10 Oct 2004 23:26:42 -0000 1.9 --- AntdocTagsHandler.java 17 Jan 2005 00:58:32 -0000 1.10 *************** *** 114,118 **** /** ! * @return * @doc.tag type="content" */ --- 114,121 ---- /** ! * The Required status (i.e. is it mandatory or optional) of an attribute. Uses the value text if it is present, ! * otherwise defaults to "Yes." or "No." depending on whether an [EMAIL PROTECTED] or [EMAIL PROTECTED] tag is found. ! * ! * @return required * @doc.tag type="content" */ *************** *** 148,152 **** * Links to the root folder. Only required to generate links to CSS. * ! * @return * @todo refactor this. It's copied more or less from InfoTagsHandler * @doc.tag type="content" --- 151,155 ---- * Links to the root folder. Only required to generate links to CSS. * ! * @return link * @todo refactor this. It's copied more or less from InfoTagsHandler * @doc.tag type="content" *************** *** 158,162 **** /** ! * @return * @doc.tag type="content" */ --- 161,167 ---- /** ! * Links to the documentation page of a nested sub-element. ! * ! * @return link * @doc.tag type="content" */ *************** *** 170,175 **** if (link == null) { ! // we only replace . with / in package. We want to maintain dots in inner class names ! link = getRootlinkFor(docElement.getXClass()) + subElementClass.getContainingPackage().getName().replace('.', '/') + '/' + subElementClass.getName() + ".html"; } return link; --- 175,181 ---- if (link == null) { ! // we only replace . with / in package. Dots in inner class names are replaced by $ ! link = getRootlinkFor(docElement.getXClass()) + subElementClass.getContainingPackage().getName().replace('.', '/') ! + '/' + subElementClass.getTransformedName() + ".html"; } return link; ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ xdoclet-devel mailing list xdoclet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-devel