Update of /cvsroot/xdoclet/xdoclet/core/src/xdoclet/tagshandler In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21770/core/src/xdoclet/tagshandler
Modified Files: ClassTagsHandler.java Log Message: Add support for XDtClass:transformedClassName and fullTransformedClassName. Note that this involves a change to TemplateSubTask that may be more far-reaching than I anticipated and might need to be revisited. Using this support I am able to fix the inner class support of the hibernate module. Index: ClassTagsHandler.java =================================================================== RCS file: /cvsroot/xdoclet/xdoclet/core/src/xdoclet/tagshandler/ClassTagsHandler.java,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -r1.18 -r1.19 *** ClassTagsHandler.java 18 Apr 2004 18:26:14 -0000 1.18 --- ClassTagsHandler.java 19 Apr 2004 14:22:38 -0000 1.19 *************** *** 148,155 **** /** ! * Returns the not-full-qualified name of the current class without the package name. * ! * @return Description of the Returned Value ! * @exception XDocletException Description of Exception * @doc.tag type="content" */ --- 148,155 ---- /** ! * Returns the not-fully-qualified name of the current class without the package name. * ! * @return the name of the current class ! * @exception XDocletException if something goes wrong * @doc.tag type="content" */ *************** *** 162,167 **** * Returns the full-qualified name of the current class. * ! * @return Description of the Returned Value ! * @exception XDocletException Description of Exception * @doc.tag type="content" */ --- 162,167 ---- * Returns the full-qualified name of the current class. * ! * @return the name of the current class ! * @exception XDocletException if something goes wrong * @doc.tag type="content" */ *************** *** 172,179 **** /** * Returns the full-qualified name of the superclass of the current class. * ! * @return Description of the Returned Value ! * @exception XDocletException Description of Exception * @doc.tag type="content" */ --- 172,203 ---- /** + * Returns the transformed name of the current class with package name. + * + * @return the name of the current class + * @exception XDocletException if something goes wrong + * @doc.tag type="content" + */ + public String transformedClassName() throws XDocletException + { + return getCurrentClass().getTransformedName(); + } + + /** + * Returns the fully-qualified transformed name of the current class with package name. + * + * @return the name of the current class + * @exception XDocletException if something goes wrong + * @doc.tag type="content" + */ + public String fullTransformedClassName() throws XDocletException + { + return getCurrentClass().getTransformedQualifiedName(); + } + + /** * Returns the full-qualified name of the superclass of the current class. * ! * @return the name of the superclass of the current class ! * @exception XDocletException if something goes wrong * @doc.tag type="content" */ *************** *** 187,191 **** * * @param template The body of the block tag ! * @exception XDocletException Description of Exception * @doc.tag type="block" */ --- 211,215 ---- * * @param template The body of the block tag ! * @exception XDocletException if something goes wrong * @doc.tag type="block" */ ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel