|
||||||||||
| 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
public class 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 | |
|---|---|
java.lang.String |
daoClass(java.util.Properties attributes)
Returns the full qualified dao class name for the bean |
static java.lang.String |
getDaoClassFor(xjavadoc.XClass clazz)
Similar to InterfaceTagsHandler.getComponentInterface(java.lang.String, xjavadoc.XClass). |
protected static java.lang.String |
getDaoClassPattern()
Gets the DaoClassPattern attribute of the DaoTagsHandler class |
void |
ifDaoMethod(java.lang.String template)
Evaluates the body block if current method is a DAO method. |
void |
ifUsingDao(java.lang.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 java.lang.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 java.lang.String getDaoClassPattern()
public java.lang.String daoClass(java.util.Properties attributes)
throws XDocletException
attributes - The attributes of the template tag
XDocletException
public void ifUsingDao(java.lang.String template)
throws XDocletException
template -
XDocletException
public void ifDaoMethod(java.lang.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 | |||||||||