|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectxdoclet.DocletSupport
xdoclet.SubTask
xdoclet.TemplateSubTask
xdoclet.modules.java.javabean.BeanInfoSubTask
Generate the BeanInfo class for a given JavaBean class, and an optional messages properties bundle to go with it.
| Nested Class Summary |
| Nested classes inherited from class xdoclet.TemplateSubTask |
TemplateSubTask.ExtentTypes, TemplateSubTask.OfType |
| Field Summary | |
static String |
GENERATED_BEANINFO_CLASS_NAME
Pattern for generation of BeanInfo files |
static String |
GENERATED_BEANINFO_FILE_NAME
Pattern for generation of BeanInfo files |
protected boolean |
i18nGeneration
Is the BeanInfo class built for I18N |
| Fields inherited from class xdoclet.DocletSupport |
currentClassTag, currentFieldTag, currentMethodTag |
| Constructor Summary | |
BeanInfoSubTask()
Constructor for the BeanInfoSubTask object |
|
| Method Summary | |
protected void |
engineStarted()
Called when the engine is started |
void |
execute()
Describe what the method does |
protected String |
getGeneratedFileName(xjavadoc.XClass clazz)
Returns the filename of the generated file for a class. |
boolean |
isI18n()
Get whether or not a I18N resource bundle will be generated, and the BeanInfo classes will use it |
void |
setI18n(boolean value)
Set whether or not a I18N resource bundle will be generated, and the BeanInfo classes will use it |
void |
validateOptions()
Called to validate configuration parameters. |
| Methods inherited from class xdoclet.SubTask |
addConfigParam, getConfigParams, getConfigParamsAsMap, getContext, getDestDir, getMergeDir, getSubTaskName, getXJavaDoc, setDestDir, setMergeDir, setSubTaskName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static String GENERATED_BEANINFO_FILE_NAME
public static String GENERATED_BEANINFO_CLASS_NAME
protected boolean i18nGeneration
| Constructor Detail |
public BeanInfoSubTask()
| Method Detail |
public boolean isI18n()
public void setI18n(boolean value)
value - true to support I18N
public void validateOptions()
throws XDocletException
validateOptions in class TemplateSubTaskXDocletException - Description of Exception
public void execute()
throws XDocletException
TemplateSubTask
execute in class TemplateSubTaskXDocletException - Description of Exception
protected String getGeneratedFileName(xjavadoc.XClass clazz)
throws XDocletException
TemplateSubTask
getGeneratedFileName in class TemplateSubTaskclazz - the class being processed
XDocletException - Description of Exception
protected void engineStarted()
throws XDocletException
engineStarted in class TemplateSubTaskXDocletException - Thrown in case of problem
|
http://xdoclet.sourceforge.net/ | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||