|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectxdoclet.template.TemplateTagHandler
xdoclet.XDocletTagSupport
xdoclet.modules.ejb.EjbTagsHandler
xdoclet.modules.ejb.dao.DaoTagsHandler
| Field Summary |
| Fields inherited from class xdoclet.modules.ejb.EjbTagsHandler |
ALL, LOCAL_SUFFIX, SERVICE_ENDPOINT, SERVICE_ENDPOINT_SUFFIX |
| Fields inherited from class xdoclet.XDocletTagSupport |
FOR_CLASS, FOR_CONSTRUCTOR, FOR_FIELD, FOR_METHOD, PARAMETER_DELIMITER |
| Constructor Summary | |
DaoTagsHandler()
|
|
| Method Summary | |
String |
daoClass(Properties attributes)
Returns the full qualified dao class name for the bean |
static String |
getDaoClassFor(xjavadoc.XClass clazz)
Similar to InterfaceTagsHandler.getComponentInterface(java.lang.String, xjavadoc.XClass). |
protected static String |
getDaoClassPattern()
Gets the DaoClassPattern attribute of the DaoTagsHandler class |
void |
ifDaoMethod(String template)
Evaluates the body block if current method is a DAO method. |
void |
ifUsingDao(String template)
Evaluate the body block if ejb.dao tag present and DAO subtask being used. |
static boolean |
isDaoMethod(xjavadoc.XMethod method)
Returns true if method should be added to the DAO, false otherwise. |
| Methods inherited from class xdoclet.template.TemplateTagHandler |
getXJavaDoc, setXJavaDoc |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DaoTagsHandler()
| Method Detail |
public static String getDaoClassFor(xjavadoc.XClass clazz)
InterfaceTagsHandler.getComponentInterface(java.lang.String, xjavadoc.XClass). Relies on the ejb.dao
tag, which has the following relevant properties:
clazz - Description of Parameter
public static boolean isDaoMethod(xjavadoc.XMethod method)
throws XDocletException
method - XMethod to be evaluated
XDocletExceptionprotected static String getDaoClassPattern()
public String daoClass(Properties attributes)
throws XDocletException
attributes - The attributes of the template tag
XDocletException
public void ifUsingDao(String template)
throws XDocletException
template -
XDocletException
public void ifDaoMethod(String template)
throws XDocletException
template - The body of the block tag
XDocletExceptionisDaoMethod(xjavadoc.XMethod)
|
http://xdoclet.sourceforge.net/ | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||