xdoclet.modules.java.javabean
public class BeanInfoSubTask extends TemplateSubTask
TemplateSubTask.ExtentTypes, TemplateSubTask.OfType
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
GENERATED_BEANINFO_CLASS_NAME
Pattern for generation of BeanInfo files
|
static java.lang.String |
GENERATED_BEANINFO_FILE_NAME
Pattern for generation of BeanInfo files
|
protected boolean |
i18nGeneration
Is the BeanInfo class built for I18N
|
currentClassTag, currentFieldTag, currentMethodTag
Constructor and Description |
---|
BeanInfoSubTask()
Constructor for the BeanInfoSubTask object
|
Modifier and Type | Method and Description |
---|---|
protected void |
engineStarted()
Called when the engine is started
|
void |
execute()
Describe what the method does
|
protected java.lang.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.
|
addOfType, addOfType, addPackageSubstitution, copyAttributesFrom, engineFinished, generateForClass, getAcceptAbstractClasses, getAcceptInterfaces, getDestinationFile, getEngine, getExtent, getGenerationManager, getHavingClassTag, getOfType, getPackageSubstitutions, getSubTaskClassName, getTemplateURL, init, isPackageSubstitutionInheritanceSupported, isPrefixWithPackageStructure, javaFile, matchesGenerationRules, processInnerClasses, setAcceptAbstractClasses, setAcceptInterfaces, setDestinationFile, setEngine, setExtent, setExtentValue, setGenerationManager, setHavingClassTag, setOfType, setPackageSubstitutionInheritanceSupported, setPackageSubstitutions, setPrefixWithPackageStructure, setSubTaskClassName, setTemplateFile, setTemplateURL, startEngine, startProcess, startProcessForAll, startProcessPerClass
addConfigParam, getConfigParams, getConfigParamsAsMap, getContext, getDestDir, getMergeDir, getSubTaskName, getXJavaDoc, setDestDir, setMergeDir, setSubTaskName
getCurrentClass, getCurrentClassTag, getCurrentConstructor, getCurrentField, getCurrentFieldTag, getCurrentMethod, getCurrentMethodTag, getCurrentPackage, getCurrentTag, isDocletGenerated, popCurrentClass, pushCurrentClass, setCurrentClass, setCurrentClassTag, setCurrentConstructor, setCurrentField, setCurrentFieldTag, setCurrentMethod, setCurrentMethodTag, setCurrentPackage
public static java.lang.String GENERATED_BEANINFO_FILE_NAME
public static java.lang.String GENERATED_BEANINFO_CLASS_NAME
protected boolean i18nGeneration
public BeanInfoSubTask()
public boolean isI18n()
public void setI18n(boolean value)
value
- true to support I18Npublic void validateOptions() throws XDocletException
validateOptions
in class TemplateSubTask
XDocletException
- Description of Exceptionpublic void execute() throws XDocletException
TemplateSubTask
execute
in class TemplateSubTask
XDocletException
- Description of Exceptionprotected java.lang.String getGeneratedFileName(xjavadoc.XClass clazz) throws XDocletException
TemplateSubTask
getGeneratedFileName
in class TemplateSubTask
clazz
- the class being processedXDocletException
- Description of Exceptionprotected void engineStarted() throws XDocletException
engineStarted
in class TemplateSubTask
XDocletException
- Thrown in case of problem