|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--xdoclet.template.TemplateTagHandler | +--xdoclet.XDocletTagSupport | +--xdoclet.ejb.tags.EjbTagsHandler | +--xdoclet.ejb.tags.DaoTagsHandler
Fields inherited from class xdoclet.ejb.tags.EjbTagsHandler |
LOCAL_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(com.sun.javadoc.ClassDoc clazz)
Similar to InterfaceTagsHandler.getComponentInterface(java.lang.String, com.sun.javadoc.ClassDoc) . |
protected static java.lang.String |
getDaoClassPattern()
|
void |
ifUsingDao(java.lang.String template)
Evaluate the body block if ejb:dao tag present and DAO subtask being used. |
Methods inherited from class xdoclet.template.TemplateTagHandler |
generate, getContext, getEngine, getParser, setContext, setEngine, setParser |
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(com.sun.javadoc.ClassDoc clazz) throws XDocletException
InterfaceTagsHandler.getComponentInterface(java.lang.String, com.sun.javadoc.ClassDoc)
. Relies on the
ejb:dao tag, which has the following relevant properties:
clazz
- Description of ParameterXDocletException
- Description of Exceptionprotected static java.lang.String getDaoClassPattern()
public java.lang.String daoClass(java.util.Properties attributes) throws XDocletException
attributes
- The attributes of the template tagXDocletException
- Description of Exceptionpublic void ifUsingDao(java.lang.String template) throws XDocletException
template
- XDocletException
- Description of Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |