1 5 package xdoclet.modules.webwork; 6 7 import xdoclet.XDocletTagSupport; 8 9 15 public class WebWorkTagsHandler extends XDocletTagSupport 16 { 17 22 public String javaDocHtmlFile() 23 { 24 26 WebWorkActionDocsSubTask webworkSubtask = (WebWorkActionDocsSubTask) getDocletContext().getActiveSubTask(); 28 String javadocDir = webworkSubtask.getJavadocDir(); 29 30 return (javadocDir == null ? "" : javadocDir + "/") + getCurrentClass().getQualifiedName().replace('.', '/') + ".html"; 31 } 32 33 38 public String commandName() 39 { 40 String name = getCurrentMethod().getName().substring(2); 41 42 name = name.substring(0, 1).toLowerCase() + name.substring(1); 43 return name; 44 } 45 } 46 | Popular Tags |