Modifier and Type | Method and Description |
---|---|
protected void |
XmlSubTask.engineFinished()
Describe what the method does
|
protected void |
TemplateSubTask.engineStarted()
Describe what the method does
|
void |
TemplateSubTask.execute()
Describe what the method does
|
abstract void |
SubTask.execute()
Called to start execution of the sub-task.
|
void |
XDocletTagSupport.generate(java.lang.String template) |
protected void |
TemplateSubTask.generateForClass(xjavadoc.XClass clazz)
Processed template for clazz and generates output file for clazz.
|
protected static java.lang.String |
XDocletTagSupport.getExpandedDelimitedTagValue(java.util.Properties attributes,
int forType)
The
getExpandedDelimitedTagValue method returns a delimited version with class names expanded if
requested of the tag value. |
protected java.lang.String |
TemplateSubTask.getGeneratedFileName(xjavadoc.XClass clazz)
Returns the filename of the generated file for a class.
|
protected static java.lang.String |
XDocletTagSupport.getTagValue(int forType,
java.lang.String tagName,
java.lang.String paramName,
java.lang.String validValues,
java.lang.String defaultValue,
boolean superclasses,
boolean mandatory)
Gets the TagValue attribute of the XDocletTagSupport class
|
protected static java.lang.String |
XDocletTagSupport.getTagValue(int forType,
xjavadoc.XDoc doc,
java.lang.String tagName,
java.lang.String paramName,
java.lang.String validValues,
java.lang.String defaultValue,
boolean superclasses,
boolean mandatory) |
protected static java.lang.String |
XDocletTagSupport.getTagValue(java.util.Properties attributes,
int forType)
Return the Value of a tag specified in a Properties object.
|
protected static boolean |
XDocletTagSupport.hasTag(java.util.Properties attributes,
int forType)
A utility method used by ifHasClassTag/ifDoesntHaveClassTag and ifHasMethodTag/ifDoesntHaveMethodTag, return true
if at least one tag exists with the specified name.
|
void |
TemplateSubTask.init(xjavadoc.XJavaDoc xJavaDoc)
Describe what the method does
|
void |
SubTask.init(xjavadoc.XJavaDoc xJavaDoc)
Initializes SubTask.
|
boolean |
GenerationManager.isGenerationNeeded(java.io.File file)
Verify if the generation of a file to generate is needed because either the Template used to generate the file
have a later timestamp, or because ALL the Java sources imported in this task have a sooner timestamp.
|
boolean |
GenerationManager.isGenerationNeeded(xjavadoc.XClass clazz,
java.io.File file,
boolean withTemplate)
Test if a Java source mmust be generated or not depending of timestamp of elements involved.
|
protected static boolean |
XDocletTagSupport.isTagValueEqual(java.util.Properties attributes,
int forType)
A utility method used by ifMethodTagValueEquals/ifMethodTagValueNotEquals and
ifClassTagValueEquals/ifClassTagValueNotEquals, return true if the value of the tag/XParameter equals with value.
|
protected static void |
XDocletTagSupport.mandatoryParamNotFound(xjavadoc.XDoc doc,
java.lang.String paramName,
java.lang.String tagName)
Throws an XDocletException exception to stop the build process.
|
protected void |
XDocletTagSupport.mandatoryTemplateTagParamNotFound(java.lang.String templateTagName,
java.lang.String paramName)
Throws an XDocletException exception to stop the build process.
|
protected boolean |
TemplateSubTask.matchesGenerationRules(xjavadoc.XClass clazz)
Returns true if output not already generated for clazz, and is of the specified type and has the specified class
tag; false otherwise.
|
protected java.lang.String |
XDocletTagSupport.modifiers(int forType)
Return the modifiers (static, private, etc.) for the current program element of the specified type.
|
void |
TemplateSubTask.setTemplateFile(java.io.File templateFile)
Sets the name of the template file to use for generation
|
protected void |
XDocletMain.start(xjavadoc.XJavaDoc xJavaDoc)
Starts XDoclet
|
void |
XmlSubTask.startProcess()
Describe what the method does
|
protected void |
TemplateSubTask.startProcess()
Describe what the method does
|
protected void |
TemplateSubTask.startProcessForAll() |
protected void |
TemplateSubTask.startProcessPerClass() |
void |
TemplateSubTask.validateOptions()
Called to validate configuration parameters.
|
void |
SubTask.validateOptions()
Called to validate configuration parameters.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
AntPropertyTagsHandler.property(java.util.Properties attributes)
Returns the values of a configuration parameter with the name paramName.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ScriptEngineTagHandler.fillVariables(xdoclet.modules.apache.SubTemplateEngine templateEngine)
Fill the variables passed to the engines
|
protected java.lang.String |
ScriptEngineTagHandler.getSubTemplateVariable(xdoclet.modules.apache.SubTemplateEngine subengine,
java.util.Properties attributes)
Get a subtemplate variable
|
Modifier and Type | Method and Description |
---|---|
protected void |
AxisUndeploySubTask.engineStarted()
Describe what the method does
|
protected void |
AxisDeploySubTask.engineStarted()
Describe what the method does
|
void |
AxisUndeploySubTask.validateOptions()
Called to validate configuration parameters.
|
void |
AxisDeploySubTask.validateOptions()
Called to validate configuration parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
BsfEngineTagHandler.clearVariables()
Clear all BSF variables
|
java.lang.String |
BsfEngineTagHandler.getVariable(java.util.Properties attributes)
Get a value of a BSF variable
|
Modifier and Type | Method and Description |
---|---|
protected void |
ApacheSoapSubTask.engineStarted()
Describe what the method does
|
void |
ApacheSoapSubTask.validateOptions()
Called to validate configuration parameters.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
ActionFormTagsHandler.actionFormClass()
Return the class name for the current class.
|
java.lang.String |
ActionFormTagsHandler.actionFormName() |
protected void |
ActionFormSubTask.engineStarted()
Describe what the method does
|
void |
StrutsValidationXmlSubTask.execute()
Describe what the method does
|
void |
StrutsConfigXmlSubTask.execute()
Generate struts-config.xml
|
void |
StrutsValidatorTagsHandler.forAllFieldArgs(java.lang.String template,
java.util.Properties attributes)
Iterates over all arguments for the current field.
|
void |
StrutsValidatorTagsHandler.forAllFields(java.lang.String template,
java.util.Properties attributes)
Iterates the body for each field of the current form requiring validation.
|
void |
StrutsDynaFormValidatorTagsHandler.forAllFields(java.lang.String template,
java.util.Properties attributes)
Iterates the body for each field of the current form requiring validation.
|
void |
StrutsFormTagsHandler.forAllFormFields(java.lang.String template)
Evaluates body for all fields included in form generation
|
void |
ActionFormTagsHandler.forAllFormFields(java.lang.String template)
Evaluates body for all fields included in form generation
|
void |
StrutsValidatorTagsHandler.forAllForms(java.lang.String template,
java.util.Properties attributes)
Iterates over all Struts Form beans and evaluates the body of the tag for each class.
|
void |
StrutsDynaFormValidatorTagsHandler.forAllForms(java.lang.String template,
java.util.Properties attributes)
Iterates over all POJOs with dynaform tags and evaluates the body of the tag for each class.
|
java.lang.String |
StrutsValidatorTagsHandler.formName(java.util.Properties attributes)
Gets the "name" attribute for the <form> element in the xml descriptor.
|
java.lang.String |
StrutsDynaFormValidatorTagsHandler.formName(java.util.Properties attributes)
Gets the "name" attribute for the <form> element in the xml descriptor.
|
protected void |
ActionFormSubTask.generateForClass(xjavadoc.XClass clazz)
iterate through all struts:form tags,and produce separate classes
|
static java.lang.String |
ActionFormTagsHandler.getActionFormClassFor(xjavadoc.XClass clazz)
Gets the ActionFormClassFor attribute of the ActionFormTagsHandler class.
|
static java.lang.String |
ActionFormTagsHandler.getActionFormClassName(xjavadoc.XClass clazz)
Gets the ActionFormClassName attribute of the ActionFormTagsHandler class
|
protected java.util.Map |
StrutsValidatorTagsHandler.getFields(xjavadoc.XClass clazz) |
protected java.util.Map |
StrutsValidatorTagsHandler.getFields(xjavadoc.XClass clazz,
java.lang.String prefix) |
protected java.lang.String |
ActionFormSubTask.getGeneratedFileName(xjavadoc.XClass clazz)
Gets the GeneratedFileName attribute of the ActionFormSubTask object
|
static java.lang.String |
StrutsFormTagsHandler.getStrutsFormClassFor(xjavadoc.XClass clazz)
Gets the StrutsFormClassFor attribute of the StrutsFormTagsHandler class.
|
static java.lang.String |
StrutsFormTagsHandler.getStrutsFormClassName(xjavadoc.XClass clazz)
Gets the StrutsFormClassName attribute of the StrutsFormTagsHandler class
|
static boolean |
StrutsFormTagsHandler.hasFormDefinition(xjavadoc.XClass clazz)
Return true if at least one struts:form tag is defined.
|
static boolean |
ActionFormTagsHandler.hasFormDefinition(xjavadoc.XClass clazz)
Return true if at least one struts:form tag is defined.
|
void |
StrutsValidatorTagsHandler.ifArgIsForType(java.lang.String template,
java.util.Properties attributes)
Evaluates the body if the current argument is a validator-specific argument.
|
void |
StrutsValidatorTagsHandler.ifArgIsResource(java.lang.String template,
java.util.Properties attributes)
Evaluates body if current argument is a resource key.
|
void |
StrutsValidatorTagsHandler.ifArgIsValue(java.lang.String template,
java.util.Properties attributes)
Evaluates the body if the current argument is an inline value rather than a resource key.
|
void |
StrutsValidatorTagsHandler.ifFieldIsIndexed(java.lang.String template,
java.util.Properties attributes)
Evaluates the body if the current field has an indexed component.
|
void |
StrutsValidatorTagsHandler.ifFormHasFields(java.lang.String template,
java.util.Properties attributes)
Evaluates the body if form has fields requiring validation.
|
void |
StrutsValidatorTagsHandler.ifNoArg0(java.lang.String template,
java.util.Properties attributes)
Evaluates the body if there is no arg0 specified.
|
void |
StrutsFormTagsHandler.ifUseMethodInForm(java.lang.String template)
Evaluates the body if the method belongs in a given form.
|
void |
ActionFormTagsHandler.ifUseMethodInForm(java.lang.String template)
Evaluates the body if the method belongs in a given form.
|
protected boolean |
ActionFormSubTask.matchesGenerationRules(xjavadoc.XClass clazz)
Returns whether struts form[s] shall be generated for this class
|
java.lang.String |
StrutsFormTagsHandler.strutsFormClass()
Return the class name for the current class.
|
java.lang.String |
StrutsFormTagsHandler.strutsFormName() |
protected boolean |
StrutsFormTagsHandler.useMethodInForm(xjavadoc.XMethod method)
Check that method has struts:form-field tag with valid name, or is pk field (and pk fields are included) or
include-all="true".
|
protected boolean |
ActionFormTagsHandler.useMethodInForm(xjavadoc.XMethod method)
Check that method has struts:form-field tag with valid name, or is pk field (and pk fields are included) or
include-all="true".
|
void |
ActionFormSubTask.validateOptions()
Called to validate configuration parameters.
|
Modifier and Type | Method and Description |
---|---|
protected void |
StrutsFormSubTask.engineStarted()
Describe what the method does
|
protected void |
StrutsFormSubTask.generateForClass(xjavadoc.XClass clazz)
iterate through all struts:form tags,and produce separate classes
|
protected java.lang.String |
StrutsFormSubTask.getGeneratedFileName(xjavadoc.XClass clazz)
Gets the GeneratedFileName attribute of the StrutsFormSubTask object
|
protected boolean |
StrutsFormSubTask.matchesGenerationRules(xjavadoc.XClass clazz)
Returns whether struts form[s] shall be generated for this class
|
void |
StrutsFormSubTask.validateOptions()
Called to validate configuration parameters.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
TapestryTagsHandler.currentTagValue(java.util.Properties attributes) |
void |
TapestryTagsHandler.forAllBeanItems(java.lang.String template,
java.util.Properties attributes) |
void |
TapestryTagsHandler.forAllBeans(java.lang.String template) |
void |
TapestryTagsHandler.forAllComponentItems(java.lang.String template,
java.util.Properties attributes) |
void |
TapestryTagsHandler.forAllComponents(java.lang.String template) |
void |
TapestryTagsHandler.forAllContextAssetItems(java.lang.String template,
java.util.Properties attributes) |
void |
TapestryTagsHandler.forAllContextAssets(java.lang.String template) |
void |
TapestryTagsHandler.forAllExternalAssetItems(java.lang.String template,
java.util.Properties attributes) |
void |
TapestryTagsHandler.forAllExternalAssets(java.lang.String template) |
void |
TapestryTagsHandler.forAllParameters(java.lang.String template) |
void |
TapestryTagsHandler.forAllPrivateAssetItems(java.lang.String template,
java.util.Properties attributes) |
void |
TapestryTagsHandler.forAllPrivateAssets(java.lang.String template) |
void |
TapestryTagsHandler.forAllProperties(java.lang.String template) |
void |
TapestryTagsHandler.forAllPropertySpecifications(java.lang.String template) |
void |
TapestryTagsHandler.forAllReservedParameters(java.lang.String template) |
void |
TapestryTagsHandler.ifCurrentTagHasAttribute(java.lang.String template,
java.util.Properties attributes) |
protected boolean |
PageSpecificationSubTask.matchesGenerationRules(xjavadoc.XClass clazz)
Describe what the method does
|
protected boolean |
ComponentSpecificationSubTask.matchesGenerationRules(xjavadoc.XClass clazz)
Describe what the method does
|
Modifier and Type | Method and Description |
---|---|
void |
VelocityEngineTagHandler.clearVariables()
Clear all velocity variables
|
java.lang.String |
VelocityEngineTagHandler.getVariable(java.util.Properties attributes)
Get a value of a velocity variable from the context
|
Modifier and Type | Method and Description |
---|---|
protected void |
WebLogicSubTask.engineStarted()
Describe what the method does
|
void |
WebLogicSubTask.execute() |
void |
WeblogicRelationTagsHandler.forAllColumnMaps(java.lang.String template,
boolean left)
Describe what the method does
|
void |
WeblogicRelationTagsHandler.forAllLeftColumnMaps(java.lang.String template) |
void |
WeblogicRelationTagsHandler.forAllRightColumnMaps(java.lang.String template)
Describe what the method does
|
void |
WeblogicRelationTagsHandler.ifHasKeyColumn(java.lang.String template)
Describe what the method does
|
void |
WeblogicRelationTagsHandler.ifHasLeftGroupName(java.lang.String template)
Describe what the method does
|
void |
WeblogicRelationTagsHandler.ifHasRightGroupName(java.lang.String template)
Describe what the method does
|
java.lang.String |
WeblogicRelationTagsHandler.joinTableName()
Describe what the method does
|
java.lang.String |
WeblogicRelationTagsHandler.keyColumn()
Describe what the method does
|
java.lang.String |
WeblogicRelationTagsHandler.leftGroupName()
Describe what the method does
|
java.lang.String |
WeblogicRelationTagsHandler.rightGroupName()
Describe what the method does
|
void |
WebLogicSubTask.setCmpTemplateFile(java.io.File templateFile)
Sets the template file for generation of weblogic-cmp-rdbms-jar.xml.
|
void |
WebLogicSubTask.setTemplateFile(java.io.File templateFile)
Sets the template file for generation of weblogic-ejb-jar.xml.
|
void |
WebLogicSubTask.validateOptions()
Called to validate configuration parameters.
|
Constructor and Description |
---|
WeblogicWebXmlSubTask()
Describe what the WeblogicWebXmlSubTask constructor does
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
BorlandRelationTagsHandler.defaultLeftColumnName()
Describe what the method does
|
java.lang.String |
BorlandRelationTagsHandler.defaultLeftTableName()
Describe what the method does
|
java.lang.String |
BorlandRelationTagsHandler.defaultRightColumnName()
Default right colum name is pk field of the right side bean..
|
java.lang.String |
BorlandRelationTagsHandler.defaultRightTableName()
Describe what the method does
|
protected void |
BorlandSubTask.engineStarted()
Describe what the method does
|
void |
BorlandRelationTagsHandler.ifDoesntHaveLeftColumnName(java.lang.String template)
Describe what the method does
|
void |
BorlandRelationTagsHandler.ifDoesntHaveLeftTableName(java.lang.String template)
Describe what the method does
|
void |
BorlandRelationTagsHandler.ifDoesntHaveRightColumnName(java.lang.String template)
Describe what the method does
|
void |
BorlandRelationTagsHandler.ifDoesntHaveRightTableName(java.lang.String template)
Describe what the method does
|
void |
BorlandRelationTagsHandler.ifHasLeftColumnName(java.lang.String template)
Describe what the method does
|
void |
BorlandRelationTagsHandler.ifHasLeftTableName(java.lang.String template)
Describe what the method does
|
void |
BorlandRelationTagsHandler.ifHasRightColumnName(java.lang.String template)
Describe what the method does
|
void |
BorlandRelationTagsHandler.ifHasRightTableName(java.lang.String template)
Describe what the method does
|
java.lang.String |
BorlandRelationTagsHandler.leftColumnName()
Describe what the method does
|
java.lang.String |
BorlandRelationTagsHandler.leftTableName()
Describe what the method does
|
java.lang.String |
BorlandRelationTagsHandler.rightColumnName()
Describe what the method does
|
java.lang.String |
BorlandRelationTagsHandler.rightTableName()
Describe what the method does
|
void |
BorlandSubTask.validateOptions()
Called to validate configuration parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
ResinWebTagsHandler.forAllCurrentTagParams(java.lang.String template)
Iterates over all parameters of the current javadoc tag.
|
void |
ResinEjbTagsHandler.ifHasLeftOrderBy(java.lang.String template)
Evaluates the body if the left side of the relationship is many and the order-by parameter of the
resinejb:relation method-level tag is defined.
|
void |
ResinEjbTagsHandler.ifHasLeftSqlColumn(java.lang.String template)
Evaluates the body if the left side of the relationship is single and the sql-column parameter of the
resinejb:relation method-level tag is defined.
|
void |
ResinEjbTagsHandler.ifHasRightOrderBy(java.lang.String template)
Evaluates the body if the right side of the relationship is many and the order-by parameter of the
resinejb:relation method-level tag is defined.
|
void |
ResinEjbTagsHandler.ifHasRightSqlColumn(java.lang.String template)
Evaluates the body if the right side of the relationship is single and the sql-column parameter of the
resinejb:relation method-level tag is defined.
|
void |
ResinEjbTagsHandler.ifHasSqlTable(java.lang.String template)
Evaluates the body if either side of the current relation is many and the sql-table parameter of the
resinejb:relation method-level tag is defined.
|
java.lang.String |
ResinEjbTagsHandler.leftOrderBy()
Returns the order-by for the left side of the current relation, if applicable.
|
java.lang.String |
ResinEjbTagsHandler.leftSqlColumn()
Returns the sql-column for the left side of the current relation, if applicable.
|
java.lang.String |
ResinWebTagsHandler.parameterAsElement(java.util.Properties props)
Writes the current javadoc parameter as an xml element of the form:
|
java.lang.String |
ResinWebTagsHandler.parameterAsInitParam()
Writes the current javadoc parameter as an xml element of the form:
|
java.lang.String |
ResinWebTagsHandler.parameterAsXml(java.util.Properties props)
Writes the current javadoc parameter as an element or an init-param, depending on the tag attributes; if the
parameter name is contained in the attributes, the 'element' form is used, else the 'init-parm' form.
|
java.lang.String |
ResinWebTagsHandler.parameterName()
Returns the current javadoc parameter name.
|
java.lang.String |
ResinWebTagsHandler.parameterValue()
Returns the current javadoc parameter value.
|
java.lang.String |
ResinEjbTagsHandler.rightOrderBy()
Returns the order-by for the right side of the current relation, if applicable.
|
java.lang.String |
ResinEjbTagsHandler.rightSqlColumn()
Returns the sql-column for the right side of the current relation, if applicable.
|
java.lang.String |
ResinEjbTagsHandler.signatureFromMethod()
Returns the signature of the current method in a form suitable for the
/resinejb/enterprise-beans/entity/method/signature element.
|
java.lang.String |
ResinWebTagsHandler.sourceComment()
Writes an xml comment indicating the current method or class name.
|
java.lang.String |
ResinEjbTagsHandler.sqlTable()
Returns the sql-table of the current relationship, if any.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
DocumentationTagsHandler.currentNamespace()
Returns current namespace.
|
java.lang.String |
DocumentationTagsHandler.currentNamespaceTagsHandlerClassName()
Returns current namespace tags handler class name.
|
java.lang.String |
DocumentationTagsHandler.currentNamespaceTagsHandlerClassNameAsDirStructure()
Returns current namespace name.
|
java.lang.String |
AntdocTagsHandler.elementName()
The name of the current element.
|
protected void |
DocumentTagsSubTask.engineStarted()
Describe what the method does
|
java.lang.String |
AntdocTagsHandler.enumerateValues()
List the possible values for the current method.
|
void |
DocumentTagsSubTask.execute()
Describe what the method does
|
void |
ModuleTagsHandler.forAllModules(java.lang.String template)
Iterates over all modules
|
void |
DocumentationTagsHandler.forAllNamespaces(java.lang.String template)
Iterates over all template namespaces registered in /tagmappings.properties file and evaluates the body of the
tag for each namespace.
|
void |
AntdocTagsHandler.forAllSubElements(java.lang.String template)
Generate the tag's body for each of the current element's sub-elements.
|
protected void |
DocumentTagsSubTask.generateForClass(xjavadoc.XClass clazz)
Processed template for clazz and generates output file for clazz.
|
protected void |
AntdocSubTask.generateForClass(xjavadoc.XClass clazz) |
protected java.lang.String |
DocumentTagsSubTask.getGeneratedFileName(xjavadoc.XClass clazz)
Gets the GeneratedFileName attribute of the DocumentTagsSubTask object
|
void |
AntdocTagsHandler.ifHasSubElements(java.lang.String template)
Generate the tag's body if the current element has any sub-elements.
|
void |
AntdocSubTask.init(xjavadoc.XJavaDoc xJavaDoc) |
protected boolean |
AntdocSubTask.matchesGenerationRules(xjavadoc.XClass clazz) |
java.lang.String |
DocumentationTagsHandler.namespace()
Returns current namespace name.
|
java.lang.String |
DocumentationTagsHandler.namespaceFromClassName()
Returns current namespace name from current class name.
|
java.lang.String |
DocumentationTagsHandler.namespaceTagsHandlerClassName()
Returns current namespace tags handler class name.
|
java.lang.String |
AntdocTagsHandler.subElementName()
The name of the current sub-element.
|
void |
DocumentTagsSubTask.validateOptions()
Called to validate configuration parameters - really noop here
|
void |
AntdocSubTask.validateOptions() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
InfoTagsHandler.classTagValue()
Describe what the method does
|
java.lang.String |
InfoTagsHandler.constructorTagValue()
Describe what the method does
|
protected void |
InfoSubTask.engineStarted()
Describe what the method does
|
void |
InfoSubTask.execute() |
java.lang.String |
InfoTagsHandler.fieldTagValue()
Describe what the method does
|
void |
InfoTagsHandler.forAllClassTags(java.lang.String template)
Describe what the method does
|
void |
InfoTagsHandler.forAllConstructorTags(java.lang.String template)
Describe what the method does
|
void |
InfoTagsHandler.forAllFieldTags(java.lang.String template)
Describe what the method does
|
void |
InfoTagsHandler.forAllMethodTags(java.lang.String template)
Describe what the method does
|
void |
InfoTagsHandler.ifTagCountNotZero(java.lang.String template,
java.util.Properties properties)
Describe what the method does
|
java.lang.String |
InfoTagsHandler.methodTagValue()
Describe what the method does
|
java.lang.String |
InfoTagsHandler.projectname()
Describe what the method does
|
java.lang.String |
InfoTagsHandler.rootlink()
Describe what the method does
|
java.lang.String |
InfoTagsHandler.tagCount(java.util.Properties properties)
Describe what the method does
|
void |
InfoSubTask.validateOptions()
validate options - noop here
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
EjbTagsHandler.beanType()
Returns Bean type : "Entity", "Session" or "Message Driven".
|
java.lang.String |
EjbTagsHandler.concreteFullClassName()
Returns the full-qualified name of the current class's concrete class.
|
java.lang.String |
EjbTagsHandler.ejbExternalRefName()
Returns the name of EJB ref.
|
java.lang.String |
EjbTagsHandler.ejbName(java.util.Properties attributes)
Returns the name of current EJB bean.
|
static java.lang.String |
EjbTagsHandler.ejbRefName()
Returns the name of EJB ref.
|
static java.lang.String |
EjbTagsHandler.ejbRefName(xjavadoc.XTag tag,
xjavadoc.XClass clazz)
Returns the name of EJB ref.
|
protected java.lang.String |
EjbTagsHandler.extendsFromFor(xjavadoc.XClass clazz,
java.lang.String tagName,
java.lang.String type,
java.lang.String extendsParamName,
java.lang.String defaultBaseClassName)
Returns the name of the class pk/etc class extends.
|
void |
EjbTagsHandler.forAllBeans(java.lang.String template)
Evaluates the body block for each EJBean derived from one of the three EJB types: EntityBean, SessionBean or
MessageDrivenBean.
|
protected java.lang.String |
EjbTagsHandler.getDependentClassFor(xjavadoc.XClass clazz,
java.lang.String type)
sub-classes which deal with patternized class names return a reasonable value
|
static xjavadoc.XClass |
EjbTagsHandler.getEjb(java.lang.String name)
Returns the class with the specified ejb name
|
protected boolean |
EjbTagsHandler.hasTransaction(xjavadoc.XDoc doc)
Returns true if class/method denoted by doc has ejb:transaction tag, false otherwise.
|
java.lang.String |
EjbTagsHandler.id()
Returns unique id for current ejb.
|
void |
EjbTagsHandler.ifIsAConcreteEJBean(java.lang.String template,
java.util.Properties attributes)
Evaluates the body block if current bean is a concrete bean meaning the generate parameter of ejb:bean is either
not specified or equals to "true", otherwise the bean is just an abstract base class bean not meant to be used as
a EJBean but serve as the base for other EJBeans.
|
void |
EjbTagsHandler.ifLocalEjb(java.lang.String template) |
void |
EjbTagsHandler.ifNotLocalEjb(java.lang.String template) |
void |
EjbTagsHandler.ifNotRemoteEjb(java.lang.String template) |
void |
EjbTagsHandler.ifNotServiceEndpointEjb(java.lang.String template) |
void |
EjbTagsHandler.ifRemoteEjb(java.lang.String template) |
void |
EjbTagsHandler.ifServiceEndpointEjb(java.lang.String template) |
static boolean |
EjbTagsHandler.isAConcreteEJBean(xjavadoc.XClass clazz)
Gets the AConcreteEJBean attribute of the EjbTagsHandler class
|
static boolean |
EjbTagsHandler.isEjb(xjavadoc.XClass clazz)
Returns true of clazz is an EJB (derived from an EJB type), false otherwise.
|
static boolean |
EjbTagsHandler.isLocalEjb(xjavadoc.XClass clazz) |
static boolean |
EjbTagsHandler.isOnlyLocalEjb(xjavadoc.XClass clazz)
Returns true if clazz is only a local EJB by looking at ejb:bean's view-type parameter.
|
static boolean |
EjbTagsHandler.isOnlyRemoteEjb(xjavadoc.XClass clazz)
Returns true if clazz is only a remote EJB by looking at ejb:bean's view-type parameter.
|
static boolean |
EjbTagsHandler.isOnlyServiceEndpointEjb(xjavadoc.XClass clazz)
Returns true if clazz is only a service endpoint EJB by looking at ejb:bean's view-type parameter.
|
static boolean |
EjbTagsHandler.isRemoteEjb(xjavadoc.XClass clazz) |
static boolean |
EjbTagsHandler.isServiceEndpointEjb(xjavadoc.XClass clazz) |
java.lang.String |
EjbTagsHandler.shortEjbName()
Returns short version of ejbName().
|
protected boolean |
EjbTagsHandler.shouldTraverseSuperclassForDependentClass(xjavadoc.XClass clazz,
java.lang.String tagName)
Describe what the method does
|
java.lang.String |
EjbTagsHandler.symbolicClassName()
Returns the symbolic name of the current class.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
DaoTagsHandler.daoClass(java.util.Properties attributes)
Returns the full qualified dao class name for the bean
|
protected void |
DaoSubTask.engineStarted()
Describe what the method does
|
protected java.lang.String |
DaoSubTask.getGeneratedFileName(xjavadoc.XClass clazz)
Gets the GeneratedFileName attribute of the DaoSubTask object
|
void |
DaoTagsHandler.ifDaoMethod(java.lang.String template)
Evaluates the body block if current method is a DAO method.
|
void |
DaoTagsHandler.ifUsingDao(java.lang.String template)
Evaluate the body block if ejb.dao tag present and DAO subtask being used.
|
static boolean |
DaoTagsHandler.isDaoMethod(xjavadoc.XMethod method)
Returns true if method should be added to the DAO, false otherwise.
|
protected boolean |
DaoSubTask.matchesGenerationRules(xjavadoc.XClass clazz)
Describe what the method does
|
void |
DaoSubTask.validateOptions()
Called to validate configuration parameters.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
AbstractEjbDeploymentDescriptorSubTask.atLeastOneCmp1EntityBeanExists()
Describe what the method does
|
protected boolean |
AbstractEjbDeploymentDescriptorSubTask.atLeastOneCmp2EntityBeanExists()
Describe what the method does
|
protected boolean |
AbstractEjbDeploymentDescriptorSubTask.atLeastOneCmpEntityBeanExists()
Describe what the method does
|
java.lang.String |
EjbRefTagsHandler.ejbRefId()
Deprecated.
Returns unique id for the specified ejb-ref.
|
java.lang.String |
EjbRefTagsHandler.ejbRefJndiName()
Deprecated.
Returns the global JNDI name for the current EJB ref.
|
protected void |
EjbDotXmlSubTask.engineStarted()
Describe what the method does
|
void |
EjbDotXmlSubTask.execute()
Describe what the method does
|
protected xjavadoc.XClass |
EjbRefTagsHandler.findEjb(java.lang.String ejbName)
Deprecated.
Finds and returns the class with the specified ejbName.
|
void |
EjbRefTagsHandler.forAllEjbRefs(java.lang.String template,
java.util.Properties attributes)
Deprecated.
Evaluates the body block for each ejb:ejb-ref defined for the EJB.
|
void |
RelationTagsHandler.forAllRelationships(java.lang.String template)
Evaluates the body block for each relationship.
|
void |
SecurityTagsHandler.forAllSecurityRoles(java.lang.String template)
Evaluates the body block for each ejb:permission defined in class level or method level.
|
java.lang.String |
RelationTagsHandler.RelationHolder.getLeftMultiplicity()
Gets the LeftMultiplicity attribute of the RelationHolder object
|
java.lang.String |
RelationTagsHandler.RelationHolder.getLeftRoleName()
Gets the LeftRoleName attribute of the RelationHolder object
|
java.lang.String |
RelationTagsHandler.RelationHolder.getName() |
java.lang.String |
RelationTagsHandler.RelationHolder.getRightMultiplicity()
Gets the RightMultiplicity attribute of the RelationHolder object
|
java.lang.String |
RelationTagsHandler.RelationHolder.getRightRoleName()
Gets the RightRoleName attribute of the RelationHolder object
|
void |
RelationTagsHandler.ifHasLeftRoleName(java.lang.String template)
Describe what the method does
|
void |
RelationTagsHandler.ifHasRelationships(java.lang.String template)
Evaluates the body if at least one of the classes has an ejb:relation tag, otherwise not.
|
void |
RelationTagsHandler.ifHasRightRoleName(java.lang.String template)
Describe what the method does
|
void |
RelationTagsHandler.ifIsBidirectional(java.lang.String template)
Describe what the method does
|
void |
RelationTagsHandler.ifIsLeftMany(java.lang.String template)
Describe what the method does
|
void |
RelationTagsHandler.ifIsMany2Many(java.lang.String template)
Evaluates the body block if the current relationship is a many to many type, meaning, both sides of the relation
returns java.util.Collection or java.util.Set.
|
void |
RelationTagsHandler.ifIsNotACollection(java.lang.String template)
Evaluates the body block if current method's return type is not a java.util.Collection or java.util.Set.
|
void |
RelationTagsHandler.ifIsOne2Many(java.lang.String template)
Evaluates the body block if the current relationship is a one to many type, meaning, ONLY ONE side of the
relation returns java.util.Collection or java.util.Set.
|
void |
RelationTagsHandler.ifIsOne2One(java.lang.String template)
Evaluates the body block if the current relationship is a one to one type, meaning, neither side of the relation
returns java.util.Collection or java.util.Set.
|
void |
RelationTagsHandler.ifIsRightMany(java.lang.String template)
Describe what the method does
|
void |
RelationTagsHandler.ifIsUnidirectional(java.lang.String template)
Describe what the method does
|
void |
RelationTagsHandler.ifLeftCascadeDelete(java.lang.String template)
Evaluates the body if the left side of this relation has cascade-delete=yes
|
void |
RelationTagsHandler.ifLeftNavigable(java.lang.String template)
Describe what the method does
|
void |
EjbRefTagsHandler.ifLocalEjbRef(java.lang.String template)
Deprecated.
Generates code if the ejb-ref is local
|
void |
RelationTagsHandler.ifNotHasRelationships(java.lang.String template)
Evaluates the body if none of the classes has an ejb:relation tag, otherwise not.
|
void |
RelationTagsHandler.ifNotIsMany2Many(java.lang.String template)
Evaluates the body block if the current relationship IS NOT a many to many type, meaning, at least one side of
the relation does not return java.util.Collection or java.util.Set.
|
void |
RelationTagsHandler.ifNotIsOne2Many(java.lang.String template)
Evaluates the body block if the current relationship IS NOT a one to many type, meaning, either both sides, or
neither side of the relation returns java.util.Collection or java.util.Set.
|
void |
RelationTagsHandler.ifNotIsOne2One(java.lang.String template)
Evaluates the body block if the current relationship IS NOT a one to one type, meaning, at least one side of the
relation returns java.util.Collection or java.util.Set.
|
void |
EjbRefTagsHandler.ifRemoteEjbRef(java.lang.String template)
Deprecated.
Generates code if the ejb-ref is local
|
void |
RelationTagsHandler.ifRightCascadeDelete(java.lang.String template)
Evaluates the body if the right side of this relation has cascade-delete=yes, or the left side has
target-relation cascade-delete="yes"
|
void |
RelationTagsHandler.ifRightNavigable(java.lang.String template)
Describe what the method does
|
boolean |
RelationTagsHandler.RelationHolder.isLeftCascadeDelete()
Gets the LeftCascadeDelete attribute of the RelationHolder object
|
boolean |
RelationTagsHandler.RelationHolder.isLeftMany()
Gets the LeftMany attribute of the RelationHolder object
|
protected boolean |
EjbRefTagsHandler.isLocalEjbRef(xjavadoc.XTag ejbRefTag)
Deprecated.
Return true if the ejb-ref is local
|
boolean |
RelationTagsHandler.RelationHolder.isMany2Many()
Gets the Many2Many attribute of the RelationHolder object
|
boolean |
RelationTagsHandler.RelationHolder.isOne2Many()
Gets the One2Many attribute of the RelationHolder object
|
boolean |
RelationTagsHandler.RelationHolder.isOne2One()
Gets the One2One attribute of the RelationHolder object
|
protected boolean |
EjbRefTagsHandler.isRemoteEjbRef(xjavadoc.XTag ejbRefTag)
Deprecated.
Return true if the ejb-ref is remote
|
boolean |
RelationTagsHandler.RelationHolder.isRightCascadeDelete()
Gets the RightCascadeDelete attribute of the RelationHolder object
|
boolean |
RelationTagsHandler.RelationHolder.isRightMany()
Gets the RightMany attribute of the RelationHolder object
|
java.lang.String |
RelationTagsHandler.leftEJBName()
Returns the EJB Name of the left side of this relationship
|
java.lang.String |
RelationTagsHandler.leftFieldName()
Describe what the method does
|
java.lang.String |
RelationTagsHandler.leftFieldType()
Describe what the method does
|
java.lang.String |
RelationTagsHandler.leftMultiplicity()
Describe what the method does
|
java.lang.String |
RelationTagsHandler.leftRoleName()
Describe what the method does
|
java.lang.String |
RelationTagsHandler.relationName() |
java.lang.String |
RelationTagsHandler.rightEJBName()
Returns the EJB Name of the right side of this relationship
|
java.lang.String |
RelationTagsHandler.rightFieldName()
Describe what the method does
|
java.lang.String |
RelationTagsHandler.rightFieldType()
Describe what the method does
|
java.lang.String |
RelationTagsHandler.rightMultiplicity()
Describe what the method does
|
java.lang.String |
RelationTagsHandler.rightRoleName()
Describe what the method does
|
java.lang.String |
SecurityTagsHandler.securityRoleName()
Returns current security role name set by the containing forAllSecurityRoles.
|
protected void |
EjbRefTagsHandler.storeReferringClassId()
Deprecated.
Stores the id of current EJB for further use by other tags in referringClassId attribute.
|
void |
EjbDotXmlSubTask.validateOptions()
Called to validate configuration parameters.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
FacadeTagsHandler.beanPermission()
generate permission spec - inherit from bean
|
java.lang.String |
FacadeTagsHandler.beanRef()
generate bean reference
|
boolean |
FacadeTagsHandler.canUseLocal() |
static boolean |
PkTagsHandler.classHasPrimkeyField(xjavadoc.XClass clazz)
Returns true if the specified class has a primkey-field defined on the ejb.bean tag (opposed to having a separate
PK class).
|
java.lang.String |
ValueObjectTagsHandler.collectionType()
Returns the collection type for the current field.
|
java.lang.String |
ValueObjectTagsHandler.concreteCollectionType()
Type of the constructor for aggregates or compositions.
|
java.lang.String |
DataObjectTagsHandler.dataMostSuperObjectClass()
Returns the data-object class name highest in the hierarchy of derived beans.
|
java.lang.String |
DataObjectTagsHandler.dataObjectClass()
Returns data-object class name for the bean.
|
java.lang.String |
DataObjectTagsHandler.dataObjectClassNameFromInterfaceName()
Return the dataobject class name from interface name.
|
java.lang.String |
CmpTagsHandler.dbmsColumn()
Returns the dbms column.
|
java.lang.String |
CmpTagsHandler.dbmsTable()
Returns the table name for the current class.
|
protected void |
ValueObjectSubTask.engineStarted()
Describe what the method does
|
protected void |
EntityPkSubTask.engineStarted()
Describe what the method does
|
protected void |
EntityFacadeSubTask.engineStarted()
Describe what the method does
|
protected void |
EntityCmpSubTask.engineStarted()
Describe what the method does
|
protected void |
EntityBmpSubTask.engineStarted()
Describe what the method does
|
protected void |
DataObjectSubTask.engineStarted()
Describe what the method does
|
java.lang.String |
BmpTagsHandler.entityBmpClass()
Returns the name of generated BMP class.
|
java.lang.String |
CmpTagsHandler.entityCmpClass()
Returns the name of generated CMP class.
|
java.lang.String |
FacadeTagsHandler.entityFacadeClass()
produce class name for ejb facade
|
java.lang.String |
PkTagsHandler.extendsFrom()
Returns the name of the class pk class extends.
|
java.lang.String |
DataObjectTagsHandler.extendsFrom()
Returns the name of the class dataobject class extends.
|
java.lang.String |
ValueObjectTagsHandler.extendsFrom(java.util.Properties attributes)
Returns the name of the class the specified value object extends.
|
java.lang.String |
FacadeTagsHandler.facadeEjbName()
prodice facade ejb name.
|
static java.lang.String |
PersistentTagsHandler.fieldList(xjavadoc.XClass clazz,
java.lang.String inclTag,
java.lang.String exclTag,
int type,
java.lang.String valueObject,
boolean superclasses)
Returns comma-separated list of fields, excluding fields that have tags of exclTag list, including fields that
have tags of inclTag list.
|
java.lang.String |
CmpTagsHandler.fieldName()
Returns the cmp-version 2.x compatible cmp / cmr field name for the current method.
|
void |
ValueObjectTagsHandler.forAllAggregates(java.lang.String template,
java.util.Properties attributes)
Loop over all the aggregate fields in the given value object, and generate the body for each one.
|
void |
BmpTagsHandler.forAllBmpEntityBeans(java.lang.String template)
Evaluates the body block for each EJBean derived from EntityBean which is BMP.
|
void |
CmpTagsHandler.forAllCmpEntityBeans(java.lang.String template)
Evaluates the body block for each EJBean derived from EntityBean which is CMP.
|
void |
CmpTagsHandler.forAllCmpFields(java.lang.String template)
Evaluates the body block for each persistent field of current class (if entity CMP).
|
void |
ValueObjectTagsHandler.forAllComposes(java.lang.String template,
java.util.Properties attributes)
Loop over all the composed fields in the given value object, and generate the body for each one.
|
void |
EntityTagsHandler.forAllEjbSelectMethods(java.lang.String template)
Evaluates the body block for each ejbSelect
|
void |
EntityTagsHandler.forAllEntityBeans(java.lang.String template)
Evaluates the body block for each EJBean derived from EntityBean.
|
void |
PersistentTagsHandler.forAllPersistentFields(java.lang.String template,
java.util.Properties attributes)
Evaluates the body for each persistent field.
|
protected void |
PersistentTagsHandler.forAllPersistentMatchedFields(java.lang.String template,
java.lang.String include_tags,
java.lang.String exclude_tags,
boolean superclasses,
java.lang.String valueObject)
Generate only for all Persisted Fields matching a specific XTag or Persisted fields that do not match a specific
Tag
|
void |
ValueObjectTagsHandler.forAllRelations(java.lang.String template,
java.util.Properties attributes)
Loop over all the relation fields in the given value object, and generate the body for each one.
|
protected void |
ValueObjectTagsHandler.forAllSetters(java.lang.String template,
java.lang.String methodName) |
protected void |
DataObjectTagsHandler.forAllSuper(java.lang.String template,
java.lang.String methodName)
Browse all super classes and search for a special method to generate it in the current CMP/BMP class.
|
void |
DataObjectTagsHandler.forAllSuperSetData(java.lang.String template)
Evaluates the body block for each setData method.
|
void |
ValueObjectTagsHandler.forAllSuperSetValue(java.lang.String template)
Describe what the method does
|
void |
ValueObjectTagsHandler.forAllValueObjects(java.lang.String pTemplate)
Loops over all the ejb.value-object tags in the class, and generates the body for each one.
|
java.lang.String |
DataObjectTagsHandler.generateDataObjectClass() |
protected void |
ValueObjectSubTask.generateForClass(xjavadoc.XClass clazz)
Describe what the method does
|
protected void |
DataObjectSubTask.generateForClass(xjavadoc.XClass clazz)
Describe what the method does
|
static java.lang.String |
ValueObjectTagsHandler.getCurrentValueObjectAttribute(xjavadoc.XTag tag)
Gets the CurrentValueObjectAttribute attribute of the ValueObjectTagsHandler class
|
static java.lang.String |
ValueObjectTagsHandler.getCurrentValueObjectClass(xjavadoc.XClass clazz,
xjavadoc.XTag tag)
Gets the CurrentValueObjectClass attribute of the ValueObjectTagsHandler class
|
static java.lang.String |
ValueObjectTagsHandler.getCurrentValueObjectName(xjavadoc.XTag tag)
Gets the CurrentValueObjectName attribute of the ValueObjectTagsHandler class
|
static java.lang.String |
DataObjectTagsHandler.getDataMostSuperObjectClass(xjavadoc.XClass clazz) |
protected java.lang.String |
PkTagsHandler.getDependentClassFor(xjavadoc.XClass clazz,
java.lang.String type)
Gets the DependentClassFor attribute of the PkTagsHandler object
|
protected java.lang.String |
DataObjectTagsHandler.getDependentClassFor(xjavadoc.XClass clazz,
java.lang.String type)
Gets the DependentClassFor attribute of the DataObjectTagsHandler object
|
static java.lang.String |
BmpTagsHandler.getEntityBmpClassFor(xjavadoc.XClass clazz)
Gets the EntityBmpClassFor attribute of the BmpTagsHandler class
|
java.lang.String |
FacadeTagsHandler.getFacadeEjbNameFor(xjavadoc.XClass clazz) |
static java.lang.String |
CmpTagsHandler.getFieldNameFor(xjavadoc.XMethod method)
Returns the cmp-version 2.x compatible cmp / cmr field name for the passed method.
|
protected java.lang.String |
ValueObjectSubTask.getGeneratedFileName(xjavadoc.XClass clazz)
Gets the GeneratedFileName attribute of the ValueObjectSubTask object
|
protected java.lang.String |
EntityPkSubTask.getGeneratedFileName(xjavadoc.XClass clazz)
Gets the GeneratedFileName attribute of the EntityPkSubTask object
|
protected java.lang.String |
EntityFacadeSubTask.getGeneratedFileName(xjavadoc.XClass clazz)
Gets the GeneratedFileName attribute of the EntityCmpSubTask object
|
protected java.lang.String |
EntityCmpSubTask.getGeneratedFileName(xjavadoc.XClass clazz)
Gets the GeneratedFileName attribute of the EntityCmpSubTask object
|
protected java.lang.String |
EntityBmpSubTask.getGeneratedFileName(xjavadoc.XClass clazz)
Gets the GeneratedFileName attribute of the EntityBmpSubTask object
|
protected java.lang.String |
DataObjectSubTask.getGeneratedFileName(xjavadoc.XClass clazz)
Gets the GeneratedFileName attribute of the DataObjectSubTask object
|
static java.lang.String |
PkTagsHandler.getPkClassFor(xjavadoc.XClass clazz)
Get the primary key class specified for a given class.
|
static java.lang.String |
PkTagsHandler.getPkClassForEjbJarXmlFor(xjavadoc.XClass clazz)
Gets the PkClassForEjbJarXmlFor attribute of the PkTagsHandler class
|
protected java.lang.String[] |
PersistentTagsHandler.getPkFieldsInHeader()
Returns an array containing ejb:pk-field tags defined in class level.
|
static java.lang.String |
PkTagsHandler.getPrimkeyFieldFor(xjavadoc.XClass clazz)
Get the primary key field specified for a given class.
|
static java.lang.String |
PkTagsHandler.getPrimkeyGetterFor(xjavadoc.XClass clazz)
Returns the getter method of the primary key field specified for a given class.
|
static java.lang.String |
PkTagsHandler.getPrimkeySetterFor(xjavadoc.XClass clazz)
Returns the setter method of the primary key field specified for a given class.
|
java.lang.String |
ValueObjectTagsHandler.getValueMostSuperObjectClass(xjavadoc.XClass clazz) |
protected static boolean |
DataObjectTagsHandler.hasDataEquals(xjavadoc.XClass clazz) |
void |
PkTagsHandler.ifDoesntHavePrimkeyField(java.lang.String template,
java.util.Properties attributes)
Process the tag body if the current class doesn't have a defined primkey-field.
|
void |
EntityTagsHandler.ifEntity(java.lang.String template)
Evaluate the body block if current class is of an entity type.
|
void |
BmpTagsHandler.ifEntityIsBmp(java.lang.String template)
Evaluates the body block if current class is an BMP entity bean.
|
void |
CmpTagsHandler.ifEntityIsCmp(java.lang.String template)
Evaluates the body block if current class is an CMP entity bean.
|
void |
ValueObjectTagsHandler.ifGeneratePKConstructor(java.lang.String template,
java.util.Properties attributes)
Evaluates the body if the
valueobject subtask's generatePKConstructor parameter is
true . |
void |
PersistentTagsHandler.ifHasAtLeastOnePersistentField(java.lang.String template)
Evaluates the body if the class has at least one persistent field.
|
void |
PersistentTagsHandler.ifHasAtLeastOnePkField(java.lang.String template)
Evaluates the body if the class has at least one primary key field.
|
void |
PkTagsHandler.ifHasPrimkeyField(java.lang.String template,
java.util.Properties attributes)
Process the tag body if the current class has a defined primkey-field.
|
void |
PkTagsHandler.ifHasPrimkeySetter(java.lang.String template,
java.util.Properties attributes)
Process the tag body if the current class has defined a setter for the primkey-field.
|
void |
ValueObjectTagsHandler.ifIsAbstractValueObject(java.lang.String template)
Evaluates the body if the
abstract parameter is set to true on the ejb.value-object tag for the
current VO. |
void |
DataObjectTagsHandler.ifIsAggregate(java.lang.String template)
Evaluate the body block if ejb:aggregate is defined for current getter method, denoting that the specified getter
method returns an aggregated object.
|
void |
ValueObjectTagsHandler.ifIsCollection(java.lang.String template)
Executes the body only if the current field is a collection.
|
void |
DataObjectTagsHandler.ifIsNotAggregate(java.lang.String template)
Evaluate the body block if ejb:aggregate is not defined for current getter method.
|
void |
ValueObjectTagsHandler.ifIsNotCollection(java.lang.String template)
Executes the body only if the current field is not a collection.
|
void |
PkTagsHandler.ifIsNotPrimkeyField(java.lang.String template,
java.util.Properties attributes)
Process the tag body if the current method is not a getter or setter for the primkey-field.
|
void |
CmpTagsHandler.ifIsPersistent(java.lang.String template) |
void |
PkTagsHandler.ifIsPkField(java.lang.String template)
Evaluates the body if the current method is a primary key field.
|
void |
PkTagsHandler.ifIsPrimkeyField(java.lang.String template,
java.util.Properties attributes)
Process the tag body if the current method is a getter or setter for the primkey-field.
|
void |
DataObjectTagsHandler.ifIsWithDataContainer(java.lang.String pTemplate)
Evaluate the body block if ejb:data-object container="true".
|
void |
DataObjectTagsHandler.ifIsWithDataMethod(java.lang.String pTemplate)
Evaluate the body block if ejb:data-object setdata="true".
|
void |
ValueObjectTagsHandler.ifNotIsAbstractValueObject(java.lang.String template)
Evaluates the body if the
abstract parameter is set to false (or is missing) on the ejb.value-object
tag for the current VO. |
void |
CmpTagsHandler.ifNotUsingCmp2(java.lang.String template)
Evaluate the body block if not using EJB 2.0 or using EJB 2.0 but CMP version 1.x.
|
void |
FacadeTagsHandler.ifUseLocalInterface(java.lang.String template,
java.util.Properties attributes)
decide whether we have to use local interface of the bean
|
void |
FacadeTagsHandler.ifUseRemoteInterface(java.lang.String template,
java.util.Properties attributes)
decide whether we have to use remote interface of the bean
|
void |
BmpTagsHandler.ifUseSoftLocking(java.lang.String template)
Evaluates the body block if ejb:use-soft-locking is set for current class.
|
void |
CmpTagsHandler.ifUsingCmp2(java.lang.String template)
Evaluate the body block if using EJB 2.0 and CMP version 2.x.
|
void |
ValueObjectTagsHandler.ifUsingValueObject(java.lang.String template)
Evaluate the body block if Value Object subtask being used.
|
boolean |
ValueObjectTagsHandler.isAbstractValueObject(java.lang.String valueObjectName,
xjavadoc.XClass currentClass)
Whether or not the
abstract parameter is set to true on the supplied class' ejb.value-object tag for
the given VO name. |
protected boolean |
DataObjectTagsHandler.isAggregate(xjavadoc.XMethod method)
Returns true if method has ejb:aggregate, false otherwise.
|
void |
DataObjectTagsHandler.isDataContentEquals(java.lang.String pTemplate) |
static boolean |
DataObjectTagsHandler.isDataObjectMethod(xjavadoc.XMethod method)
Gets the DataObjectMethod attribute of the DataObjectTagsHandler class
|
static boolean |
BmpTagsHandler.isEntityBmp(xjavadoc.XClass clazz)
Returns true if clazz is an BMP entity bean, false otherwise.
|
static boolean |
CmpTagsHandler.isEntityCmp(xjavadoc.XClass clazz)
Returns true if clazz is an CMP entity bean, false otherwise.
|
static boolean |
PkTagsHandler.isMethodPrimkeyField(xjavadoc.XClass clazz,
xjavadoc.XMethod method)
Test if a given method is the getter or setter for the primary key field specified for the class.
|
static boolean |
CmpTagsHandler.isUsingCmp2Impl(xjavadoc.XClass clazz)
Returns true if ejbspec config parameter is "2.0" and ejb:bean's cmp-version either not defined or is "2.x",
false otherwise.
|
static boolean |
PersistentTagsHandler.isValueObjectField(xjavadoc.XClass clazz,
xjavadoc.XMethod method,
java.lang.String valueObject)
Gets the ValueObjectField attribute of the PersistentTagsHandler class
|
java.lang.String |
FacadeTagsHandler.jndiName()
jndi name if any or default
|
java.lang.String |
FacadeTagsHandler.localJndiName()
local jndi name if any
|
protected boolean |
ValueObjectSubTask.matchesGenerationRules(xjavadoc.XClass clazz)
Describe what the method does
|
protected boolean |
EntityPkSubTask.matchesGenerationRules(xjavadoc.XClass clazz)
Describe what the method does
|
protected boolean |
EntityFacadeSubTask.matchesGenerationRules(xjavadoc.XClass clazz) |
protected boolean |
EntityCmpSubTask.matchesGenerationRules(xjavadoc.XClass clazz) |
protected boolean |
EntityBmpSubTask.matchesGenerationRules(xjavadoc.XClass clazz)
Describe what the method does
|
protected boolean |
DataObjectSubTask.matchesGenerationRules(xjavadoc.XClass clazz)
Describe what the method does
|
java.lang.String |
DataObjectTagsHandler.parentDataObjectClass() |
java.lang.String |
EntityTagsHandler.persistenceType()
Returns the persistent type of current bean.
|
java.lang.String |
PersistentTagsHandler.persistentfieldList(java.util.Properties attributes)
Returns a string containing comma-separated list of persistent fields with their types.
|
java.lang.String |
PersistentTagsHandler.persistentfieldNameValueList()
Returns a string containing comma-separated list of persistent fields without their types in fieldname="value"
format.
|
java.lang.String |
PersistentTagsHandler.persistentfieldNameValueList(java.util.Properties attributes)
Returns a string containing comma-separated list of persistent fields without their types in fieldname="value"
format.
|
java.lang.String |
PkTagsHandler.pkClass()
Returns the name of generated PK class for the current class.
|
java.lang.String |
PkTagsHandler.pkClassForEjbJarXml()
Returns the name of PK class for the current class.
|
java.lang.String |
PkTagsHandler.pkfieldList()
Returns a string containing comma-separated list of primary key fields with their types.
|
java.lang.String |
PkTagsHandler.pkfieldListFrom(java.util.Properties attributes)
Returns a string containing comma-separated list of primary key fields getting from an object specified as
parameter.
|
java.lang.String |
PkTagsHandler.primkeyField(java.util.Properties attributes)
Returns the primkey-field defined for the current class.
|
java.lang.String |
PkTagsHandler.primkeyGetter(java.util.Properties attributes)
Returns the getter name for the primkey-field.
|
java.lang.String |
PkTagsHandler.primkeySetter(java.util.Properties attributes)
Returns the setter name for the primkey-field.
|
java.lang.String |
EntityTagsHandler.reentrant()
Returns True if ejb:bean reentrant is true, False otherwise.
|
java.lang.String |
FacadeTagsHandler.remoteFacadeClass() |
java.lang.String |
FacadeTagsHandler.sessionType()
provide session type
|
void |
ValueObjectSubTask.validateOptions()
Called to validate configuration parameters.
|
void |
EntityPkSubTask.validateOptions()
Called to validate configuration parameters.
|
void |
EntityFacadeSubTask.validateOptions()
Called to validate configuration parameters.
|
void |
EntityCmpSubTask.validateOptions()
Called to validate configuration parameters.
|
void |
EntityBmpSubTask.validateOptions()
Called to validate configuration parameters.
|
void |
DataObjectSubTask.validateOptions()
Called to validate configuration parameters.
|
java.lang.String |
ValueObjectTagsHandler.valueMostSuperObjectClass()
Returns the data-object class name highest in the hierarchy of derived beans.
|
java.lang.String |
ValueObjectTagsHandler.valueObjectClass()
Return the current value object's class name.
|
java.lang.String |
ValueObjectTagsHandler.valueObjectMatch()
Return the current value object's match parameter.
|
java.lang.String |
ValueObjectTagsHandler.valueObjectName()
Return the current value object's name.
|
java.lang.String |
FacadeTagsHandler.viewType()
provide view type for facade bean - inherit from class if not specified
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
EnvEjbRefTagsHandler.componentInterface()
Returns the component interface for the current ejb reference
|
protected void |
EnvTagsHandler.doGenerate(java.lang.String template)
Called for each tag in the
forTags loop. |
protected void |
EnvEjbRefTagsHandler.doGenerate(java.lang.String template) |
java.lang.String |
EnvEjbRefTagsHandler.ejbRefId()
Returns unique id for the specified ejb-ref.
|
java.lang.String |
EnvEjbRefTagsHandler.ejbRefJndiName()
Returns the global JNDI name for the current EJB ref.
|
protected xjavadoc.XClass |
EnvEjbRefTagsHandler.findEjb(java.lang.String ejbName)
Finds and returns the class with the specified ejbName.
|
void |
EnvEjbRefTagsHandler.forAllEjbRefMembers(java.lang.String template,
java.util.Properties attributes)
Evaluates the body block for each method- and field-level ejb reference.
|
void |
EnvEjbRefTagsHandler.forAllEjbRefMethods(java.lang.String template,
java.util.Properties attributes)
Evaluates the body block for each method-level ejb reference.
|
void |
EnvEjbRefTagsHandler.forAllEjbRefs(java.lang.String template,
java.util.Properties attributes)
Evaluates the body block for each ejb reference.
|
void |
EnvTagsHandler.forAllMemberTags(java.lang.String template,
java.util.Properties attributes)
Executes the template for all method- and field-level tags with the passed name
|
void |
EnvTagsHandler.forAllMethodTags(java.lang.String template,
java.util.Properties attributes)
Executes the template for all method-level tags with the passed name
|
void |
EnvTagsHandler.forAllTags(java.lang.String template,
java.util.Properties attributes)
Executes the template for all class-, method- and field-level tags with the passed name
|
protected void |
EnvTagsHandler.forTags(java.lang.String template,
java.util.Properties attributes,
boolean forClass,
boolean forMethod,
boolean forField)
Executes the passed template for the passed
|
java.lang.String |
EnvEjbRefTagsHandler.homeInterface()
Returns the home interface for the current ejb reference
|
void |
EnvTagsHandler.ifHasParam(java.lang.String template,
java.util.Properties attributes)
Executes the body only if the current tag has a specified parameter
|
void |
EnvTagsHandler.ifHasTag(java.lang.String template,
java.util.Properties attributes)
Executes the body only if the current class has at least one ot the passed tags at field- or method-level
|
void |
EnvTagsHandler.ifHasType(java.lang.String template,
java.util.Properties attributes)
Executes the body only if the current tag is either a method- or fiel-level tag or has a type parameter.
|
void |
EnvEjbRefTagsHandler.ifLocalEjbRef(java.lang.String template)
Generates code if the ejb-ref is local
|
void |
EnvTagsHandler.ifNotPrimitiveMember(java.lang.String template,
java.util.Properties attributes)
Executes the body only if the current field type or method return type is not a primitive.
|
void |
EnvTagsHandler.ifParamValueEquals(java.lang.String template,
java.util.Properties attributes)
Executes the body only if the specified tag's value is equal to the specified value
|
void |
EnvTagsHandler.ifParamValueNotEquals(java.lang.String template,
java.util.Properties attributes)
Executes the body only if the specified tag's value is equal to the specified value
|
void |
EnvTagsHandler.ifPrimitiveMember(java.lang.String template,
java.util.Properties attributes)
Executes the body only if the current field type or method return type is primitive.
|
void |
EnvEjbRefTagsHandler.ifRemoteEjbRef(java.lang.String template)
Generates code if the ejb-ref is local
|
protected boolean |
EnvEjbRefTagsHandler.isLocalEjbRef(xjavadoc.XTag ejbRefTag)
Return true if the ejb-ref is local
|
protected boolean |
EnvEjbRefTagsHandler.isRemoteEjbRef(xjavadoc.XTag ejbRefTag)
Return true if the ejb-ref is remote
|
java.lang.String |
EnvTagsHandler.memberName(java.util.Properties attributes)
Returns the method or field name.
|
java.lang.String |
EnvTagsHandler.memberType()
Returns the method's return type or the field's type.
|
java.lang.String |
EnvTagsHandler.methodSignature()
Returns the method signature for the current method.
|
java.lang.String |
EnvTagsHandler.name(java.util.Properties attributes)
Returns the name parameter value for the current tag.
|
java.lang.String |
EnvEjbRefTagsHandler.name(java.util.Properties attributes) |
java.lang.String |
EnvTagsHandler.paramValue(java.util.Properties attributes)
Returns the value of a parameter.
|
protected void |
EnvEjbRefTagsHandler.storeReferringClassId()
Stores the id of current EJB for further use by other tags in referringClassId attribute.
|
java.lang.String |
EnvTagsHandler.type(java.util.Properties attributes)
Returns the type parameter value for the current tag.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
HomeTagsHandler.compName(java.util.Properties attributes) |
java.lang.String |
HomeTagsHandler.currentExceptions()
Return exceptions for current home method.
|
java.lang.String |
HomeTagsHandler.currentMethod()
Return name of current home method.
|
java.lang.String |
HomeTagsHandler.currentPermission()
Return permission for current home method.
|
java.lang.String |
HomeTagsHandler.currentSignature()
Return signature of current home method.
|
java.lang.String |
HomeTagsHandler.currentType()
Return type of current home method.
|
protected void |
LocalHomeInterfaceSubTask.engineStarted()
Describe what the method does
|
protected void |
HomeInterfaceSubTask.engineStarted()
Describe what the method does
|
java.lang.String |
HomeTagsHandler.extendsFrom(java.util.Properties attributes)
Returns the name of the class home interface extends.
|
java.lang.String |
HomeTagsHandler.finderClass()
generates name for finder utility class backing current finder
|
static java.lang.String |
HomeTagsHandler.finderSignatureFunger(java.lang.String s,
xjavadoc.XClass clazz,
java.lang.String type)
Describe what the method does
|
void |
HomeTagsHandler.forAllHomeMethods(java.lang.String template,
java.util.Properties attributes)
Iterates over all home methods of specified type (finder or create method) defined in a class and super classes.
|
protected java.lang.String |
HomeTagsHandler.getDependentClassFor(xjavadoc.XClass clazz,
java.lang.String type)
Gets the DependentClassFor attribute of the HomeTagsHandler object
|
protected java.lang.String |
LocalHomeInterfaceSubTask.getGeneratedFileName(xjavadoc.XClass clazz)
Gets the GeneratedFileName attribute of the LocalHomeInterfaceSubTask object
|
protected java.lang.String |
HomeInterfaceSubTask.getGeneratedFileName(xjavadoc.XClass clazz)
Gets the GeneratedFileName attribute of the HomeInterfaceSubTask object
|
static java.lang.String |
HomeTagsHandler.getHomeDefinition(xjavadoc.XClass clazz,
xjavadoc.XMethod method,
java.lang.String tagType,
java.lang.String type)
Gets the HomeDefinition attribute of the HomeTagsHandler class
|
static java.lang.String |
HomeTagsHandler.getHomeInterface(java.lang.String type,
xjavadoc.XClass clazz)
|
java.lang.String |
HomeTagsHandler.homeInterface(java.util.Properties attributes)
Returns the full qualified local or remote home interface name for the bean, depending on the value of type
parameter.
|
void |
HomeTagsHandler.ifDoesntHavePostCreateMethod(java.lang.String template,
java.util.Properties attributes)
Evaluates the body block if current create method's ejbPostCreate method does not exist.
|
void |
HomeTagsHandler.ifIsCollectionType(java.lang.String template,
java.util.Properties param)
Whether current finder return collection.
|
void |
HomeTagsHandler.ifIsCreateMethod(java.lang.String template,
java.util.Properties attributes)
Evaluates the body block if current method is a create method.
|
void |
HomeTagsHandler.ifIsEnumerationType(java.lang.String template,
java.util.Properties param)
Whether current finder return enumeration.
|
void |
HomeTagsHandler.ifIsFinderMethod(java.lang.String template,
java.util.Properties attributes)
Evaluates the body block if current method is a ejbFind method.
|
void |
HomeTagsHandler.ifIsHomeMethod(java.lang.String template,
java.util.Properties attributes)
Evaluates the body block if current method is a home method.
|
void |
HomeTagsHandler.ifIsInterfaceType(java.lang.String template,
java.util.Properties param)
Whether current finder return interface.
|
void |
HomeTagsHandler.ifNotRemoveMethod(java.lang.String template)
Evaluates the body block if current method is not an ejbRemove method.
|
java.lang.String |
HomeTagsHandler.jndiName(java.util.Properties attributes) |
protected boolean |
LocalHomeInterfaceSubTask.matchesGenerationRules(xjavadoc.XClass clazz)
Describe what the method does
|
protected boolean |
HomeInterfaceSubTask.matchesGenerationRules(xjavadoc.XClass clazz)
Describe what the method does
|
java.lang.String |
HomeTagsHandler.parameterList()
Return parameter list (names only) for current home method.
|
java.lang.String |
HomeTagsHandler.parameterListDefinition()
Return parameter list definition (types and names) for current home method.
|
protected boolean |
HomeTagsHandler.shouldTraverseSuperclassForDependentClass(xjavadoc.XClass clazz,
java.lang.String tag_name)
Describe what the method does
|
void |
LocalHomeInterfaceSubTask.validateOptions()
Called to validate configuration parameters.
|
void |
HomeInterfaceSubTask.validateOptions()
Called to validate configuration parameters.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
InterfaceTagsHandler.beanClassNameFromInterfaceName(java.util.Properties attributes)
Returns the bean implementation class name for the interface name specified as the return type of current method
or the method specified by parameter interface if any.
|
java.lang.String |
InterfaceTagsHandler.classTagIntf()
Returns the current interface inside a forAllClassTagIntf block
|
java.lang.String |
InterfaceTagsHandler.componentInterface(java.util.Properties attributes)
Returns the full qualified local or remote interface name for the bean, depending on the value of type parameter.
|
protected void |
ServiceEndpointSubTask.engineStarted()
Describe what the method does
|
protected void |
RemoteInterfaceSubTask.engineStarted()
Describe what the method does
|
protected void |
LocalInterfaceSubTask.engineStarted() |
java.lang.String |
InterfaceTagsHandler.extendsFrom(java.util.Properties attributes)
Returns the name of the class home interface extends.
|
void |
InterfaceTagsHandler.forAllClassTagIntf(java.lang.String template,
java.util.Properties attributes)
Evaluates the body for all interfaces which are compatible to the view-type which is set on the current class
tag.
|
void |
InterfaceTagsHandler.forAllInterfaceViewTypes(java.lang.String template,
java.util.Properties attributes)
Evaluates the body block for each view-type of current method.
|
protected java.lang.String |
InterfaceTagsHandler.fromInterfaceToBean(java.lang.String value)
Loops over all classes and if value equals to local or remote or service-endpoint interface name of an EJBean
full qualified name of that EJB is returned.
|
static java.lang.String |
InterfaceTagsHandler.getBeanClassNameFromInterfaceNameFor(java.lang.String return_type)
Gets the BeanClassNameFromInterfaceNameFor attribute of the InterfaceTagsHandler class
|
static java.lang.String |
InterfaceTagsHandler.getComponentInterface(java.lang.String type,
xjavadoc.XClass clazz)
Return the fully qualified name of the component interface of type specified.
|
protected java.lang.String |
InterfaceTagsHandler.getDependentClassFor(xjavadoc.XClass clazz,
java.lang.String type)
Gets the DependentClassFor attribute of the InterfaceTagsHandler object
|
protected java.lang.String |
ServiceEndpointSubTask.getGeneratedFileName(xjavadoc.XClass clazz)
Gets the GeneratedFileName attribute of the ServiceEndpointInterfaceSubTask object
|
protected java.lang.String |
RemoteInterfaceSubTask.getGeneratedFileName(xjavadoc.XClass clazz)
Gets the GeneratedFileName attribute of the RemoteInterfaceSubTask object
|
protected java.lang.String |
LocalInterfaceSubTask.getGeneratedFileName(xjavadoc.XClass clazz)
Gets the GeneratedFileName attribute of the LocalInterfaceSubTask object
|
protected java.lang.String |
InterfaceTagsHandler.getInterfaceMethodName(java.lang.String name)
Returns the interface method name depending on its type.
|
void |
InterfaceTagsHandler.ifCurrentMethodViewTypeEquals(java.lang.String template,
java.util.Properties attributes)
Evaluates the body if the view-type of the current method is compatible with the value of the current method
tag's parameter with the passed name.
|
void |
InterfaceTagsHandler.ifHasClassTagIntf(java.lang.String template)
Evaluates the body if a current interface is available inside a forAllClassTagIntf block
|
void |
InterfaceTagsHandler.ifIsInterfaceMethod(java.lang.String template)
Evaluates the body block if ejb:interface-method defined for current method.
|
void |
InterfaceTagsHandler.ifIsInterfaceMethod(java.lang.String template,
java.util.Properties attributes)
Evaluate the body block if the current method is an EJB local or remote interface method.
|
void |
InterfaceTagsHandler.ifIsNotInterfaceMethod(java.lang.String template,
java.util.Properties attributes)
Evaluate the body block if the current method is not an EJB local or remote interface method.
|
java.lang.String |
InterfaceTagsHandler.interfaceMethodName()
Returns interface method name for the current interface method.
|
protected boolean |
InterfaceTagsHandler.isInterfaceMethod(java.lang.String intFace)
Implements functionality required by
InterfaceTagsHandler.ifIsInterfaceMethod(java.lang.String, java.util.Properties) and InterfaceTagsHandler.ifIsNotInterfaceMethod(java.lang.String, java.util.Properties) . |
static boolean |
InterfaceTagsHandler.isLocalMethod(xjavadoc.XMethod method)
Returns true if method is a local interface method by looking at view-type parameter.
|
static boolean |
InterfaceTagsHandler.isRemoteMethod(xjavadoc.XMethod method)
Returns true if method is a remote interface method by looking at view-type parameter.
|
static boolean |
InterfaceTagsHandler.isServiceEndpointMethod(xjavadoc.XMethod method)
Returns true if method is a local interface method by looking at view-type parameter.
|
protected boolean |
ServiceEndpointSubTask.matchesGenerationRules(xjavadoc.XClass clazz)
Describe what the method does
|
protected boolean |
RemoteInterfaceSubTask.matchesGenerationRules(xjavadoc.XClass clazz)
Describe what the method does
|
protected boolean |
LocalInterfaceSubTask.matchesGenerationRules(xjavadoc.XClass clazz) |
java.lang.String |
InterfaceTagsHandler.methodIntf(java.util.Properties attributes)
Returns "Remote" is current method has ejb:remote-method defined, "Home" otherwise.
|
void |
ServiceEndpointSubTask.validateOptions()
Called to validate configuration parameters.
|
void |
RemoteInterfaceSubTask.validateOptions()
Called to validate configuration parameters.
|
void |
LocalInterfaceSubTask.validateOptions()
Called to validate configuration parameters.
|
Modifier and Type | Method and Description |
---|---|
protected void |
LookupObjectSubTask.engineStarted()
Describe what the method does
|
protected java.lang.String |
LookupObjectSubTask.getGeneratedFileName(xjavadoc.XClass clazz)
Gets the GeneratedFileName attribute of the UtilObjectSubTask object
|
java.lang.String |
LookupUtilTagsHandler.lookupKind()
Describe what the method does
|
protected boolean |
LookupObjectSubTask.matchesGenerationRules(xjavadoc.XClass clazz)
Describe what the method does
|
java.lang.String |
LookupUtilTagsHandler.utilClass(java.util.Properties attributes)
Returns the full qualified utility class name for the bean
|
void |
LookupObjectSubTask.validateOptions()
Called to validate configuration parameters.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
MdbTagsHandler.destinationDescription()
Returns the description of the current message destination
|
java.lang.String |
MdbTagsHandler.destinationDisplayName()
Returns the display-name of the current message destination
|
java.lang.String |
MdbTagsHandler.destinationJndiName()
Returns the jndi-name of the current message destination
|
java.lang.String |
MdbTagsHandler.destinationName()
Returns the name of the current message destination
|
protected void |
MdbSubTask.engineStarted()
Describe what the method does
|
void |
MdbTagsHandler.forAllDestinations(java.lang.String template)
Evaluates the body block for each ejb:message-destination defined in class level
|
void |
MdbTagsHandler.forAllMDBeans(java.lang.String template)
Evaluates the body block for each EJBean derived from MessageDrivenBean.
|
protected java.lang.String |
MdbSubTask.getGeneratedFileName(xjavadoc.XClass clazz)
Gets the GeneratedFileName attribute of the MdbSubTask object
|
void |
MdbTagsHandler.ifDestinationHasDescription(java.lang.String template)
Evaluate the body block if the current message destination has a descrition
|
void |
MdbTagsHandler.ifDestinationHasDisplayName(java.lang.String template)
Evaluate the body block if the current message destination has a display-name
|
void |
MdbTagsHandler.ifDestinationHasJndiName(java.lang.String template)
Evaluate the body block if the current message destination has a jndi-name
|
void |
MdbTagsHandler.ifHasActivationConfig(java.lang.String template,
java.util.Properties attributes)
Evaluate the body block if the current class has a activation config
|
void |
MdbTagsHandler.ifMessageDriven(java.lang.String template)
Evaluate the body block if current class is of a message driven bean type.
|
void |
MdbTagsHandler.ifNotMessageDriven(java.lang.String template)
Evaluate the body block if current class is not of a message driven bean type.
|
protected boolean |
MdbSubTask.matchesGenerationRules(xjavadoc.XClass clazz)
Describe what the method does
|
java.lang.String |
MdbTagsHandler.mdbClass()
Returns the name of message-driven bean class.
|
java.lang.String |
MdbTagsHandler.messageDrivenClass()
Returns the name of message-driven bean class.
|
void |
MdbSubTask.validateOptions()
Called to validate configuration parameters.
|
Modifier and Type | Method and Description |
---|---|
protected void |
SessionSubTask.engineStarted()
Describe what the method does
|
protected void |
RemoteFacadeSubTask.engineStarted()
Describe what the method does
|
void |
SessionTagsHandler.forAllSessionBeans(java.lang.String template)
Evaluates the body block for each EJBean derived from SessionBean.
|
void |
SessionTagsHandler.forAllStatefulSessionBeans(java.lang.String template)
Evaluates the body block for each EJBean derived from SessionBean which is stateful.
|
void |
SessionTagsHandler.forAllStatelessSessionBeans(java.lang.String template)
Evaluates the body block for each EJBean derived from SessionBean which is stateless.
|
protected java.lang.String |
SessionSubTask.getGeneratedFileName(xjavadoc.XClass clazz)
Gets the GeneratedFileName attribute of the SessionSubTask object
|
protected java.lang.String |
RemoteFacadeSubTask.getGeneratedFileName(xjavadoc.XClass clazz)
Gets the GeneratedFileName attribute of the RemoteFacadeSubTask object
|
void |
SessionTagsHandler.ifNotStatefulSession(java.lang.String template)
Evaluate the body block if current class is not of a stateful session bean type.
|
void |
SessionTagsHandler.ifNotStatelessSession(java.lang.String template)
Evaluate the body block if current class is not of an stateless session bean type.
|
void |
SessionTagsHandler.ifStatefulSession(java.lang.String template)
Evaluate the body block if current class is of an stateful session bean type.
|
void |
SessionTagsHandler.ifStatelessSession(java.lang.String template)
Evaluate the body block if current class is of an stateless session bean type.
|
boolean |
SessionTagsHandler.isStatefulSession(xjavadoc.XClass clazz)
Returns true if clazz is a stateful session bean, false otherwise.
|
boolean |
SessionTagsHandler.isStatelessSession(xjavadoc.XClass clazz)
Returns true if clazz is a stateless session bean, false otherwise.
|
protected boolean |
SessionSubTask.matchesGenerationRules(xjavadoc.XClass clazz)
Describe what the method does
|
protected boolean |
RemoteFacadeSubTask.matchesGenerationRules(xjavadoc.XClass clazz)
we accept session beans generated on first stage runs.
|
java.lang.String |
SessionTagsHandler.sessionClass()
Returns the name of generated session class.
|
void |
SessionSubTask.validateOptions()
Called to validate configuration parameters.
|
void |
RemoteFacadeSubTask.validateOptions()
Called to validate configuration parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
CastorTagsHandler.forAllClasses(java.lang.String template,
java.util.Properties attributes)
Evaluates the body block for each class, in order.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
ExternalizerTagsHandler.bundleKey()
Current resource bundle name, will be called by
propertiestranslator subtask. |
void |
ExternalizerTagsHandler.forAllFieldTags(java.lang.String template)
Evaluate the body for all field tags.
|
protected void |
ExternalizerSubTask.generateForClass(xjavadoc.XClass clazz) |
protected java.lang.String |
PropertiesTranslatorSubTask.getGeneratedFileFileName(xjavadoc.XClass clazz)
Compute file name for generated translator class bundle.
|
protected java.lang.String |
ExternalizerSubTask.getGeneratedFileName(xjavadoc.XClass clazz) |
java.lang.String |
ExternalizerTagsHandler.key()
The current key.
|
void |
ExternalizerSubTask.validateOptions() |
java.lang.String |
ExternalizerTagsHandler.value()
The current value, with Unicode escapes where necessary.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
HibernateTagsHandler.dataSource()
Data source JNDI Name extractor.
|
java.lang.String |
HibernateTagsHandler.dialect()
SQL dialect extractor.
|
java.lang.String |
HibernateTagsHandler.driver()
Driver Name extractor.
|
protected void |
JBossServiceSubTask.engineStarted()
Called when the engine is started
|
protected void |
HibernateSubTask.engineStarted()
Called when the engine is started
|
protected void |
HibernateCfgSubTask.engineStarted()
Called when the engine is started
|
protected void |
FactoryClassSubTask.engineStarted()
Called when the engine is started
|
void |
HibernateSubTask.execute()
Generate Mapping file (*.hbm.xml).
|
void |
HibernateCfgSubTask.execute()
Generate Hibernate Configuration file (hibernate.cfg.xml).
|
void |
FactoryClassSubTask.execute()
Describe what the method does
|
java.lang.String |
HibernateTagsHandler.factoryClass()
classname extractor.
|
void |
HibernateTagsHandler.forAllJndiProperties(java.lang.String template,
java.util.Properties attributes)
Iterates over all jndiProperties specified.
|
void |
HibernateTagsHandler.forAllOtherMappings(java.lang.String template,
java.util.Properties attributes)
Iterates over all otherMappings specified.
|
void |
HibernateTagsHandler.forAllOtherProperties(java.lang.String template,
java.util.Properties attributes)
Iterates over all otherProperties specified.
|
void |
HibernateTagsHandler.forAllPersistentClasses(java.lang.String template,
java.util.Properties attributes)
Iterates over all classes marked as persistent.
|
void |
HibernateTagsHandler.forAllSubclasses(java.lang.String template,
java.util.Properties attributes)
Iterates over all classes loaded by javadoc that are direct subclasses of the current class and evaluates the
body of the tag for each class.
|
java.lang.String |
HibernateTagsHandler.getFileName()
Returns full path of hibernate file for the current class.
|
java.lang.String |
HibernateSubTask.getGeneratedFileName(xjavadoc.XClass clazz) |
protected java.lang.String |
FactoryClassSubTask.getGeneratedFileName(xjavadoc.XClass clazz)
Gets the GeneratedFileName attribute of the EntityCmpSubTask object
|
xdoclet.modules.hibernate.HibernateProperties |
HibernateTagsHandler.getHibernateProperties() |
xjavadoc.XMethod |
HibernateTagsHandler.getIdMethod()
find id property of current class.
|
void |
HibernateTagsHandler.ifCurrentMappingElementIsnt(java.lang.String template,
java.util.Properties attributes)
Render template if the current mapping element is not the one specified.
|
void |
HibernateTagsHandler.ifGeneratePropertyCache(java.lang.String template,
java.util.Properties attributes)
Render template if all of the properties needed are valid.
|
void |
HibernateTagsHandler.ifHasCompositeId(java.lang.String template,
java.util.Properties attributes)
Render template if ID is composite.
|
void |
HibernateTagsHandler.ifHasJndiName(java.lang.String template,
java.util.Properties attributes)
Render template if jndiName of JBossServiceSubtask is valid.
|
void |
HibernateTagsHandler.ifHasPrimitiveId(java.lang.String template,
java.util.Properties attributes)
Render template if id is primitive.
|
void |
HibernateTagsHandler.ifNotHasJndiName(java.lang.String template,
java.util.Properties attributes)
Render template if jndiName of JBossServiceSubtask is not valid.
|
void |
HibernateTagsHandler.ifNotUseJndiFactory(java.lang.String template,
java.util.Properties attributes)
Render template if jndiName of JBossServiceSubtask is valid.
|
void |
HibernateTagsHandler.ifUseJndiFactory(java.lang.String template,
java.util.Properties attributes)
Render template if jndiName of JBossServiceSubtask is valid.
|
java.lang.String |
HibernateTagsHandler.jdbcUrl()
JDBC URL extractor.
|
java.lang.String |
HibernateTagsHandler.jndiName()
Configured JNDI name.
|
void |
HibernateTagsHandler.logMapping(java.util.Properties attributes)
Print the name of the current class to the console.
|
java.lang.String |
HibernateTagsHandler.mappingList()
Comma separated list of hibernate mappings.
|
java.lang.String |
HibernateTagsHandler.password()
password extractor.
|
java.lang.String |
HibernateTagsHandler.poolSize()
poolSize extractor.
|
java.lang.String |
HibernateTagsHandler.serviceName()
Return configured service name.
|
void |
HibernateTagsHandler.setColumnPrefix(java.lang.String template,
java.util.Properties attributes)
Set the prefix for the \@hibernate.component, as there may be more than one component in a class that refer to
the same target class.
|
void |
HibernateTagsHandler.setCurrentTag(java.lang.String template,
java.util.Properties attributes) |
java.lang.String |
HibernateTagsHandler.userName()
username extractor.
|
void |
JBossServiceSubTask.validateOptions() |
void |
HibernateCfgSubTask.validateOptions() |
void |
FactoryClassSubTask.validateOptions() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
WebSphereEjbRefTagsHandler.ejbRefJndiName()
Returns the global JNDI name for the current EJB ref.
WebSphere can only can have one global JNDI name for an EJB bean even if it expose both a local and a remote interface. |
protected void |
WebSphereSubTask.engineStarted()
Describe what the method does
|
void |
WebSphereSubTask.execute()
Describe what the method does
|
void |
WebSphereTagsHandler.forAllResourceRefs(java.lang.String template,
java.util.Properties attributes)
Iterates over all \@websphere.resource-ref tags with the same res-ref-name as the current tag
|
void |
WebSphereSubTask.validateOptions()
Called to validate configuration parameters.
|
Modifier and Type | Method and Description |
---|---|
protected void |
WebSphereWebXmlSubTask.engineStarted()
TODO: Describe what the method does
|
void |
WebSphereWebXmlSubTask.execute()
Called by xdoclet to execute the subtask.
|
void |
WebSphereWebXmlSubTask.validateOptions()
Called to validate configuration parameters.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
JavaBeanTagsHandler.beanClass(java.util.Properties attributes)
return configured bean class name or current class name
|
java.lang.String |
JavaBeanTagsHandler.capitalizeClassTag(java.util.Properties attributes)
Capitalize the first letter of a class tag (i.e countToken => CountToken)
|
protected void |
BeanInfoSubTask.engineStarted()
Called when the engine is started
|
void |
BeanInfoSubTask.execute() |
static java.lang.String |
JavaBeanTagsHandler.getBeanInfoClassFor(xjavadoc.XClass clazz) |
protected java.lang.String |
BeanInfoSubTask.getGeneratedFileName(xjavadoc.XClass clazz) |
java.lang.String |
JavaBeanTagsHandler.getterPrefix(java.util.Properties attributes)
Return the getter prefix according to the class tag that contains a class.
|
void |
BeanInfoSubTask.validateOptions()
Called to validate configuration parameters.
|
Modifier and Type | Method and Description |
---|---|
protected void |
JBossSubTask.engineStarted() |
void |
JBossSubTask.execute() |
void |
JBossRelationTagsHandler.forAllLeftForeignKeys(java.lang.String template)
Describe what the method does
|
void |
JBossRelationTagsHandler.forAllRightForeignKeys(java.lang.String template)
Describe what the method does
|
void |
JBossTagsHandler.ifHasDVC(java.lang.String template)
Evaluates the body if at least one of the classes has an jboss:dvc tag, otherwise not.
|
void |
JBossRelationTagsHandler.ifHasJdbcType(java.lang.String template,
java.util.Properties attributes) |
void |
JBossRelationTagsHandler.ifHasRelationTableAttribute(java.lang.String template,
java.util.Properties attributes) |
void |
JBossRelationTagsHandler.ifHasSqlType(java.lang.String template,
java.util.Properties attributes) |
void |
JBossRelationTagsHandler.ifIsForeignKeyMapping(java.lang.String template) |
void |
JBossRelationTagsHandler.ifIsLeftBatchCascadeDelete(java.lang.String template) |
void |
JBossRelationTagsHandler.ifIsRelationTableMapping(java.lang.String template) |
void |
JBossRelationTagsHandler.ifIsRightBatchCascadeDelete(java.lang.String template) |
void |
JBossRelationTagsHandler.ifLeftHasFK(java.lang.String template)
Describe what the method does
|
void |
JBossRelationTagsHandler.ifLeftHasFKConstraint(java.lang.String template)
Describe what the method does
|
void |
JBossRelationTagsHandler.ifLeftHasReadAhead(java.lang.String template) |
void |
JBossRelationTagsHandler.ifLeftHasReadAheadEagerLoadGroup(java.lang.String template) |
void |
JBossRelationTagsHandler.ifLeftHasReadAheadPageSize(java.lang.String template) |
void |
JBossTagsHandler.ifMethodTagMatchesClassTag(java.lang.String template,
java.util.Properties attributes) |
void |
JBossRelationTagsHandler.ifNotIsForeignKeyMapping(java.lang.String template) |
void |
JBossRelationTagsHandler.ifNotIsRelationTableMapping(java.lang.String template) |
void |
JBossRelationTagsHandler.ifNotLeftHasFK(java.lang.String template)
Describe what the method does
|
void |
JBossRelationTagsHandler.ifNotRightHasFK(java.lang.String template)
Describe what the method does
|
void |
JBossRelationTagsHandler.ifRightHasFK(java.lang.String template)
Describe what the method does
|
void |
JBossRelationTagsHandler.ifRightHasFKConstraint(java.lang.String template)
Describe what the method does
|
void |
JBossRelationTagsHandler.ifRightHasReadAhead(java.lang.String template) |
void |
JBossRelationTagsHandler.ifRightHasReadAheadEagerLoadGroup(java.lang.String template) |
void |
JBossRelationTagsHandler.ifRightHasReadAheadPageSize(java.lang.String template) |
java.lang.String |
JBossRelationTagsHandler.leftFKConstraint()
Describe what the method does
|
java.lang.String |
JBossRelationTagsHandler.leftReadAheadEagerLoadGroup() |
java.lang.String |
JBossRelationTagsHandler.leftReadAheadPageSize() |
java.lang.String |
JBossRelationTagsHandler.leftReadAheadStrategy() |
java.lang.String |
JBossRelationTagsHandler.relationTableAttribute(java.util.Properties attributes) |
java.lang.String |
JBossRelationTagsHandler.rightFKConstraint()
Describe what the method does
|
java.lang.String |
JBossRelationTagsHandler.rightReadAheadEagerLoadGroup() |
java.lang.String |
JBossRelationTagsHandler.rightReadAheadPageSize() |
java.lang.String |
JBossRelationTagsHandler.rightReadAheadStrategy() |
void |
JBossSubTask.setJawsTemplateFile(java.io.File jawsTemplateFile)
Sets the template file for jaws.xml.
|
void |
JBossSubTask.setJbosscmpTemplateFile(java.io.File jbosscmpTemplateFile)
Sets the template file for jbosscmp-jdbc.xml.
|
void |
JBossSubTask.setJbossTemplateFile(java.io.File jbossTemplateFile)
Sets the template file for jboss.xml.
|
void |
JBossSubTask.validateOptions()
Called to validate configuration parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
JBossXmlServiceTemplateSubTask.execute() |
java.lang.String |
JMXTagsHandler.managedAttributeType() |
Modifier and Type | Method and Description |
---|---|
void |
JBossWebXmlSubTask.execute() |
void |
JBossWebTagsHandler.forAllDepends(java.lang.String template) |
void |
JBossWebTagsHandler.forAllEjbRefs(java.lang.String template)
Iterates over all \@jboss.ejb-ref-jndi tags.
|
void |
JBossWebTagsHandler.forAllLocalRefs(java.lang.String template)
Iterates over all \@jboss.ejb-local-ref tags.
|
void |
JBossWebTagsHandler.forAllResourceEnvRefs(java.lang.String template) |
void |
JBossWebTagsHandler.forAllResourceRefs(java.lang.String template)
Iterates over all \@jboss.resource-ref tags.
|
Modifier and Type | Method and Description |
---|---|
protected void |
JdoXmlMetadataSubTask.engineStarted()
Describe what the method does
|
void |
VendorExtensionsSubTask.execute() |
void |
JdoXmlMetadataSubTask.execute()
Describe what the method does
|
void |
JdoTagsHandler.forAllClassesInPackage(java.lang.String template,
java.util.Properties attributes)
The
forAllClassesInPackage method iterates through all the classes in the current package. |
void |
JdoTagsHandler.forAllPackages(java.lang.String template,
java.util.Properties attributes)
The
forAllPackages iterates through all packages, and generates the template if the
jdo.persistence-capable tag is present in at least one class in the package. |
void |
JdoTagsHandler.forAllVendorExtensions(java.lang.String template,
java.util.Properties attributes)
Generates the tag body for each vendor extension at the specified level.
|
protected void |
JdoXmlMetadataSubTask.generateForPackage(xjavadoc.XPackage pkg)
Processed template for pkg and generates output file for pkg.
|
protected abstract java.util.Collection |
VendorExtensionsSubTask.getArrayExtensions() |
protected abstract java.util.Collection |
VendorExtensionsSubTask.getClassExtensions() |
protected abstract java.util.Collection |
VendorExtensionsSubTask.getCollectionExtensions() |
protected java.util.Collection |
VendorExtensionsSubTask.getExtensions(java.lang.String level) |
protected abstract java.util.Collection |
VendorExtensionsSubTask.getFieldExtensions() |
protected java.lang.String |
JdoXmlMetadataSubTask.getGeneratedFileName(xjavadoc.XPackage pak)
Returns class name for the generated file.
|
protected abstract java.util.Collection |
VendorExtensionsSubTask.getMapExtensions() |
void |
JdoXmlMetadataSubTask.startProcess() |
protected void |
JdoXmlMetadataSubTask.startProcessPerPackage() |
void |
JdoXmlMetadataSubTask.validateOptions()
Called to validate configuration parameters.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
JMXTagsHandler.constructorSignature()
Describe what the method does
|
void |
JMXTagsHandler.forAllIndexedConstructorParams(java.lang.String template,
java.util.Properties attributes)
Describe what the method does
|
void |
JMXTagsHandler.forAllIndexedMethodParams(java.lang.String template,
java.util.Properties attributes)
Describe what the method does
|
protected java.lang.String |
JMXTagsHandler.getMBeanName(xjavadoc.XClass clazz)
Implementation of
JMXTagsHandler.mbeanName() . |
void |
JMXTagsHandler.ifHasAttributeDescription(java.lang.String template,
java.util.Properties attributes) |
void |
JMXTagsHandler.ifIsGetterMethod(java.lang.String template,
java.util.Properties attributes)
TODO: There is a big overlap here with stuff in ejb - have a look.
|
void |
JMXTagsHandler.ifIsSetterMethod(java.lang.String template,
java.util.Properties attributes)
TODO: There is a big overlap here with stuff in ejb - have a look.
|
java.lang.String |
JMXTagsHandler.indexedConstructorParamValue(java.util.Properties attributes)
Describe what the method does
|
java.lang.String |
JMXTagsHandler.indexedMethodParamValue(java.util.Properties attributes) |
java.lang.String |
JMXTagsHandler.mbeanName()
Returns the MBean name for the current class.
|
Modifier and Type | Method and Description |
---|---|
void |
FacesConfigXmlSubTask.execute() |
void |
NavigationTagsHandler.forAllRules(java.lang.String template) |
void |
FacesConfigXmlSubTask.forAllSupportedLocales(java.lang.String template) |
void |
NavigationTagsHandler.forAllViews(java.lang.String template) |
Modifier and Type | Method and Description |
---|---|
protected java.util.Collection |
LidoSubTask.getArrayExtensions() |
protected java.util.Collection |
LidoSubTask.getClassExtensions() |
protected java.util.Collection |
LidoSubTask.getCollectionExtensions() |
protected java.util.Collection |
LidoSubTask.getFieldExtensions() |
protected java.util.Collection |
LidoSubTask.getMapExtensions() |
Modifier and Type | Method and Description |
---|---|
protected void |
JRunSubTask.engineStarted()
Describe what the method does
|
void |
JRunSubTask.execute()
Describe what the method does
|
void |
JRunSubTask.validateOptions()
Called to validate configuration parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
MavenpluginTagsHandler.forAllTasks(java.lang.String template) |
void |
MavenpluginTagsHandler.ifIsAConfigParam(java.lang.String template) |
void |
MavenpluginTagsHandler.ifIsAFileSet(java.lang.String template) |
void |
MavenpluginTagsHandler.ifIsANestedElement(java.lang.String template) |
void |
MavenpluginTagsHandler.ifIsASubTask(java.lang.String template) |
void |
MavenpluginTagsHandler.ifIsNotAFileSet(java.lang.String template) |
void |
MavenpluginTagsHandler.ifIsNotANestedElement(java.lang.String template) |
void |
MavenpluginTagsHandler.ifIsNotASubTask(java.lang.String template) |
void |
MavenpluginSubTask.init(xjavadoc.XJavaDoc xJavaDoc) |
java.lang.String |
MavenpluginTagsHandler.moduleName() |
java.lang.String |
MavenpluginTagsHandler.nestedElementName() |
java.lang.String |
MavenpluginTagsHandler.nestedElementType() |
protected void |
MavenpluginSubTask.startProcessForAll() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
MVCSoftTagsHandler.colName()
Describe what the method does
|
java.lang.String |
MVCSoftTagsHandler.fieldName()
Describe what the method does
|
void |
MVCSoftTagsHandler.forAllAliases(java.lang.String template)
Describe what the method does
|
void |
MVCSoftTagsHandler.forAllQueryMethodParams(java.lang.String template)
Describe what the method does
|
void |
MVCSoftTagsHandler.forEachRoleMapping(java.lang.String template)
Describe what the method does
|
void |
MVCSoftTagsHandler.forNestedFaultGroups(java.lang.String template) |
void |
MVCSoftTagsHandler.forSingleRoleMapping(java.lang.String template)
Describe what the method does
|
void |
MVCSoftTagsHandler.ifHasSortDirection(java.lang.String template)
Describe what the method does
|
java.lang.String |
MVCSoftTagsHandler.keyFieldName()
Describe what the method does
|
java.lang.String |
MVCSoftTagsHandler.methodParamType()
Describe what the method does
|
java.lang.String |
MVCSoftTagsHandler.nestedFaultGroups() |
java.lang.String |
MVCSoftTagsHandler.roleName()
Describe what the method does
|
java.lang.String |
MVCSoftTagsHandler.sortDirection()
Describe what the method does
|
Modifier and Type | Method and Description |
---|---|
void |
Mx4jDescriptionAdapterSubTask.validateOptions()
Called to validate configuration parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
JonasSubTask.execute() |
Modifier and Type | Method and Description |
---|---|
void |
JonasWebSubTask.execute() |
Modifier and Type | Method and Description |
---|---|
void |
OpenEJBSubTask.validateOptions()
Called to validate configuration parameters.
|
Modifier and Type | Method and Description |
---|---|
protected void |
OC4JSubTask.engineStarted()
Output the processing file name.
|
Modifier and Type | Method and Description |
---|---|
protected void |
PortletXmlSubTask.engineStarted() |
void |
PortletXmlSubTask.execute()
Describe what the method does
|
Modifier and Type | Method and Description |
---|---|
protected void |
PramatiSubTask.engineStarted()
Describe what the method does
|
void |
PramatiSubTask.execute()
Describe what the method does
|
void |
PramatiSubTask.validateOptions()
Called to validate configuration parameters.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.Collection |
KodoSubTask.getArrayExtensions() |
protected java.util.Collection |
KodoSubTask.getClassExtensions() |
protected java.util.Collection |
KodoSubTask.getCollectionExtensions() |
protected java.util.Collection |
KodoSubTask.getFieldExtensions() |
protected java.util.Collection |
KodoSubTask.getMapExtensions() |
Modifier and Type | Method and Description |
---|---|
protected void |
SpringXmlSubTask.engineStarted() |
void |
SpringXmlSubTask.execute()
Describe what the method does
|
void |
SpringValidationXmlSubTask.execute()
Describe what the method does
|
void |
SpringValidatorTagsHandler.forAllFieldArgs(java.lang.String template,
java.util.Properties attributes)
Iterates over all arguments for the current field.
|
void |
SpringValidatorTagsHandler.forAllFields(java.lang.String template,
java.util.Properties attributes)
Iterates the body for each field of the current form requiring validation.
|
void |
SpringValidatorTagsHandler.forAllForms(java.lang.String template,
java.util.Properties attributes)
Iterates over all POJOs and evaluates the body of the tag for each class.
|
java.lang.String |
SpringValidatorTagsHandler.formName(java.util.Properties attributes)
Gets the "name" attribute for the <form> element in the xml descriptor.
|
void |
SpringValidatorTagsHandler.ifArgIsForType(java.lang.String template,
java.util.Properties attributes)
Evaluates the body if the current argument is a validator-specific argument.
|
void |
SpringValidatorTagsHandler.ifArgIsResource(java.lang.String template,
java.util.Properties attributes)
Evaluates body if current argument is a resource key.
|
void |
SpringValidatorTagsHandler.ifArgIsValue(java.lang.String template,
java.util.Properties attributes)
Evaluates the body if the current argument is an inline value rather than a resource key.
|
void |
SpringValidatorTagsHandler.ifFormHasFields(java.lang.String template,
java.util.Properties attributes)
Evaluates the body if form has fields requiring validation.
|
void |
SpringValidatorTagsHandler.ifNoArg0(java.lang.String template,
java.util.Properties attributes)
Evaluates the body if there is no arg0 specified.
|
Modifier and Type | Method and Description |
---|---|
void |
SunONESubTask.execute() |
static java.lang.String |
SunONETagsHandler.generateGUID()
A 32 byte GUID generator (Globally Unique ID).
|
static java.lang.String |
SunONETagsHandler.generateGUID(java.lang.Object o)
A 32 byte GUID generator (Globally Unique ID).
|
void |
SunONESubTask.validateOptions()
Called to validate configuration parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
EAServerSubTask.validateOptions()
Called to validate configuration parameters.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.Collection |
TJDOSubTask.getArrayExtensions() |
protected java.util.Collection |
TJDOSubTask.getClassExtensions() |
protected java.util.Collection |
TJDOSubTask.getCollectionExtensions() |
protected java.util.Collection |
TJDOSubTask.getFieldExtensions() |
protected java.util.Collection |
TJDOSubTask.getMapExtensions() |
Modifier and Type | Method and Description |
---|---|
void |
CollectionTagsHandler.create(java.util.Properties attributes)
Creates a new utility collection that will store template data.
|
void |
CollectionTagsHandler.destroy(java.util.Properties attributes)
Destroys the specified collection.
|
java.lang.String |
CollectionTagsHandler.get(java.util.Properties attributes)
Obtains one value contained in the collection.
|
void |
CollectionTagsHandler.ifContains(java.lang.String template,
java.util.Properties attributes)
Generates the contained template code if the specified collection contains the key or value passed as attributes.
|
void |
CollectionTagsHandler.ifDoesntContain(java.lang.String template,
java.util.Properties attributes)
Generates the contained template code if the specified collection doesn't contain the key or value passed as
attributes.
|
void |
CollectionTagsHandler.put(java.util.Properties attributes)
Puts a new element into the specified collection.
|
void |
CollectionTagsHandler.remove(java.util.Properties attributes)
Removes an element from the specified collection.
|
Modifier and Type | Method and Description |
---|---|
protected void |
WebXmlSubTask.engineStarted()
Describe what the method does
|
protected void |
ServiceEndpointSubTask.engineStarted()
Describe what the method does
|
protected void |
JspTaglibSubTask.engineStarted()
Describe what the method does
|
void |
WebXmlSubTask.execute()
Describe what the method does
|
void |
JspTaglibSubTask.execute()
Describe what the method does
|
java.lang.String |
WebTagsHandler.extendsFrom(java.util.Properties attributes)
Returns the name of the class home interface extends.
|
void |
WebTagsHandler.forAllEjbLocalRefs(java.lang.String template)
Process the tag body for each web:ejb-local-ref tag in all source files.
|
void |
WebTagsHandler.forAllEjbRefs(java.lang.String template)
Process the tag body for each web:ejb-ref tag in all source files.
|
void |
WebTagsHandler.forAllEnvEntries(java.lang.String template)
Process the tag body for each web:env-entry tag in all source files.
|
void |
WebTagsHandler.forAllResourceEnvRefs(java.lang.String template)
Process the tag body for each web:resource-env-ref tag in all source files.
|
void |
WebTagsHandler.forAllResourceRefs(java.lang.String template)
Process the tag body for each web:resource-ref tag in all source files.
|
void |
WebTagsHandler.forAllSecurityRoles(java.lang.String template)
Process the tag body for each web:security-role tag in all source files.
|
protected java.lang.String |
ServiceEndpointSubTask.getGeneratedFileName(xjavadoc.XClass clazz)
Gets the GeneratedFileName attribute of the ServiceEndpointInterfaceSubTask object
|
protected boolean |
ServiceEndpointSubTask.matchesGenerationRules(xjavadoc.XClass clazz)
Describe what the method does
|
static java.lang.String |
WebTagsHandler.serviceEndpoint(java.util.Properties properties) |
static java.lang.String |
WebTagsHandler.serviceEndpoint(xjavadoc.XClass clazz) |
void |
ServiceEndpointSubTask.validateOptions()
Called to validate configuration parameters.
|
void |
JspTaglibSubTask.validateOptions()
Called to validate configuration parameters.
|
Modifier and Type | Method and Description |
---|---|
protected void |
WebWorkActionsXmlSubTask.engineStarted()
Prints out a descriptive message while processing.
|
void |
WebWorkActionsXmlSubTask.execute()
Set up the DTD incase the generated XMl will be validated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
WsdlSubTask.engineStarted()
notify start of task
|
protected void |
WebServicesXmlSubTask.engineStarted()
feedback upon engine start
|
protected void |
JaxrpcMappingSubTask.engineStarted()
notify start of task
|
void |
WsdlSubTask.execute()
run subtask
|
void |
WebServicesXmlSubTask.execute()
runs the subtask
|
void |
JaxrpcMappingSubTask.execute()
runs the subtask
|
void |
WseeTagsHandler.forAllHandlers(java.lang.String template,
java.util.Properties attributes)
Iterates over all handler tags annotating the current class.
|
void |
WseeTagsHandler.forAllPortComponents(java.lang.String template,
java.util.Properties attributes)
Iterates over all classes loaded by javadoc and being a port component.
|
protected java.lang.String |
WsdlSubTask.getGeneratedFileName(xjavadoc.XClass clazz)
Returns class name for the generated file.
|
java.lang.String |
WseeTagsHandler.getNamespaceURI(xjavadoc.XClass clazz)
return the namespace of the specified class
|
java.lang.String |
WseeTagsHandler.handlerTagValue(java.util.Properties props)
extract the value of the current handler tag
|
void |
WseeTagsHandler.ifHasHandlerTag(java.lang.String template,
java.util.Properties props)
conditional checking presence of a handler tag
|
void |
WseeTagsHandler.ifNotWsdlPerClass(java.lang.String template,
java.util.Properties props)
conditional to handle single wsdl generation
|
void |
WseeTagsHandler.ifWsdlPerClass(java.lang.String template,
java.util.Properties props)
conditional to handle per class wsdl
|
static boolean |
WseeTagsHandler.isPortComponent(xjavadoc.XClass clazz)
check whether the given class is a port component
|
protected boolean |
WsdlSubTask.matchesGenerationRules(xjavadoc.XClass clazz)
Describe what the method does
|
java.lang.String |
WseeTagsHandler.namespaceURI()
return the namespace of the current clazz/package
|
java.lang.String |
WseeTagsHandler.serviceEndpoint(java.util.Properties props)
returns the service endpoint interface name belonging to the current class
|
java.lang.String |
WseeTagsHandler.serviceEndpointLink(java.util.Properties props)
returns the service endpoint link pointing to the current class
|
void |
WsdlSubTask.validateOptions() |
void |
JaxrpcMappingSubTask.validateOptions() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
ClassTagsHandler.classComment(java.util.Properties attributes)
The comment for the current class.
|
java.lang.String |
ClassTagsHandler.classCommentTags(java.util.Properties attributes)
The javadoc comment tags for the current class (plus xdoclet-generated).
|
java.lang.String |
ClassTagsHandler.classCommentText(java.util.Properties attributes)
The text of the javadoc comment for the current class.
|
java.lang.String |
ClassTagsHandler.className()
Returns the not-fully-qualified name of the current class without the package name.
|
void |
ClassTagsHandler.classOf(java.lang.String template)
Returns the not-full-qualified name of the full-qualified class name specified in the body of this tag.
|
java.lang.String |
ClassTagsHandler.classTagValue(java.util.Properties attributes)
Iterates over all class tags with the specified tagName and evaluates the body of the tag for each class tag.
|
java.lang.String |
ClassTagsHandler.classTagValueMatch(java.util.Properties attributes)
Sets the value of match variable.
|
java.lang.String |
ConfigTagsHandler.configParameterValue(java.util.Properties attributes)
Returns the values of a configuration parameter with the name paramName.
|
java.lang.String |
ConstructorTagsHandler.constructorComment(java.util.Properties attributes)
The comment for the current constructor.
|
java.lang.String |
ConstructorTagsHandler.constructorName(java.util.Properties attributes)
Returns the name of the current constructor.
|
java.lang.String |
ConstructorTagsHandler.constructorTagValue(java.util.Properties attributes)
Iterates over all constructor tags with the specified tagName for the current constructor probably inside of a
forAllConstructorTags body.
|
java.lang.String |
ConstructorTagsHandler.currentConstructorName()
Returns the current constructor name.
|
java.lang.String |
MethodTagsHandler.currentMethodName()
Returns the current method name.
|
java.lang.String |
AbstractProgramElementTagsHandler.currentToken(java.util.Properties attributes)
Returns current token inside forAllClassTagTokens.
|
java.lang.String |
MethodTagsHandler.exceptionList(java.util.Properties attributes)
Iterates over all exceptions thrown by the current or specified method and returns a string containing definition
of all those exceptions.
|
java.lang.String |
ConstructorTagsHandler.exceptionList(java.util.Properties attributes)
Iterates over all exceptions thrown by the current or specified constructor and returns a string containing
definition of all those exceptions.
|
protected java.lang.String |
AbstractProgramElementTagsHandler.exceptionList(java.util.Properties attributes,
int forType)
Return the throws clause of the specified constructor or method declaration.
|
void |
ConstructorTagsHandler.executeAndRestoreConstructor(java.lang.String template,
java.util.Properties attributes)
Evaluate the current block, and then restore the current constructor before continuing.
|
void |
MethodTagsHandler.executeAndRestoreMethod(java.lang.String template,
java.util.Properties attributes)
Evaluate the current block, and then restore the current method before continuing.
|
java.lang.String |
FieldTagsHandler.fieldComment(java.util.Properties attributes)
The comment for the current field.
|
java.lang.String |
FieldTagsHandler.fieldName()
Returns the name of the current field.
|
java.lang.String |
FieldTagsHandler.fieldTagValue(java.util.Properties attributes)
Iterates over all field tags with the specified tagName for the current field probably inside of a
forAllFieldTags body.
|
java.lang.String |
FieldTagsHandler.fieldType()
Returns the type of the current field.
|
java.lang.String |
ClassTagsHandler.firstSentenceDescription(java.util.Properties attributes)
Return first sentence of standard javadoc of current class.
|
java.lang.String |
ConstructorTagsHandler.firstSentenceDescriptionOfCurrentConstructor()
Return standard javadoc of current constructor.
|
java.lang.String |
FieldTagsHandler.firstSentenceDescriptionOfCurrentField()
Return standard javadoc of current field.
|
protected java.lang.String |
AbstractProgramElementTagsHandler.firstSentenceDescriptionOfCurrentMember(xjavadoc.XMember member)
Describe what the method does
|
java.lang.String |
MethodTagsHandler.firstSentenceDescriptionOfCurrentMethod()
Return standard javadoc of current method.
|
void |
ConstructorTagsHandler.forAllClassConstructors(java.lang.String template,
java.util.Properties attributes)
Loops through all constructors for all classes after first sorting all the constructors.
|
void |
ClassTagsHandler.forAllClasses(java.lang.String template,
java.util.Properties attributes)
Iterates over all classes loaded by xjavadoc and evaluates the body of the tag for each class.
|
void |
MethodTagsHandler.forAllClassMethods(java.lang.String template,
java.util.Properties attributes)
Loops through all methods for all classes after first sorting all the methods.
|
void |
ClassTagsHandler.forAllClassTags(java.lang.String template,
java.util.Properties attributes)
Iterates over all tags of current class with the name tagName and evaluates the body of the tag for each method.
|
void |
ClassTagsHandler.forAllClassTagTokens(java.lang.String template,
java.util.Properties attributes)
Iterates over all tokens in specified class tag with the name tagName and evaluates the body for every token.
|
void |
ConfigTagsHandler.forAllConfigParameters(java.lang.String template,
java.util.Properties attributes)
Evaluate the body for all configuration parameters with the name paramName.
|
void |
ParameterTagsHandler.forAllConstructorParams(java.lang.String template)
Iterates over all parameters of current constructor and evaluates the body of the tag for each method.
|
void |
ConstructorTagsHandler.forAllConstructors(java.lang.String template,
java.util.Properties attributes)
Iterates over all constructors of current class and evaluates the body of the tag for each constructor.
|
void |
ConstructorTagsHandler.forAllConstructorTags(java.lang.String template,
java.util.Properties attributes)
Iterates over all tags of current constructor and evaluates the body of the tag for each constructor.
|
void |
ConstructorTagsHandler.forAllConstructorTagTokens(java.lang.String template,
java.util.Properties attributes)
Iterates over all tokens in current constructor tag with the name tagName and evaluates the body for every token.
|
void |
ClassTagsHandler.forAllDistinctClassTags(java.lang.String template,
java.util.Properties attributes)
Iterates over all tags named according to tagName in a non-duplicated manner.
|
static void |
ClassTagsHandler.forAllDistinctClassTags(TemplateEngine engine,
java.lang.String template,
java.lang.String tagName,
java.lang.String paramName)
Iterates over all tags named according to tagName in a non-duplicated manner.
|
void |
FieldTagsHandler.forAllFields(java.lang.String template,
java.util.Properties attributes)
Iterates over all fields of current class and evaluates the body of the tag for each field.
|
void |
FieldTagsHandler.forAllFieldTags(java.lang.String template,
java.util.Properties attributes)
Iterates over all tags of current field and evaluates the body of the tag for each field.
|
void |
FieldTagsHandler.forAllFieldTagTokens(java.lang.String template,
java.util.Properties attributes)
Iterates over all tokens in current field tag with the name tagName and evaluates the body for every token.
|
protected void |
AbstractProgramElementTagsHandler.forAllMembers(java.lang.String template,
java.util.Properties attributes,
int forType) |
protected void |
AbstractProgramElementTagsHandler.forAllMemberTags(java.lang.String template,
java.util.Properties attributes,
int forType,
java.lang.String resourceKey,
java.lang.String[] arguments)
Describe what the method does
|
protected void |
AbstractProgramElementTagsHandler.forAllMemberTagTokens(java.lang.String template,
java.util.Properties attributes,
int for_type)
Describe what the method does
|
void |
ParameterTagsHandler.forAllMethodParams(java.lang.String template)
Iterates over all parameters of current method and evaluates the body of the tag for each method.
|
void |
MethodTagsHandler.forAllMethods(java.lang.String template,
java.util.Properties attributes)
Iterates over all methods of current class and evaluates the body of the tag for each method.
|
void |
MethodTagsHandler.forAllMethodTags(java.lang.String template,
java.util.Properties attributes)
Iterates over all tags of current method and evaluates the body of the tag for each method.
|
void |
MethodTagsHandler.forAllMethodTagTokens(java.lang.String template,
java.util.Properties attributes)
Iterates over all tokens in current method tag with the name tagName and evaluates the body for every token.
|
void |
PackageTagsHandler.forAllPackages(java.lang.String template,
java.util.Properties attributes)
Iterates over all packages loaded by XJavadoc.
|
void |
ParameterTagsHandler.forAllParameterTypes(java.lang.String template,
java.util.Properties attributes)
Gets the value of the parameter specified by paramName of current tag, and assuming the value has the format of a
typical method definition extracts of parameter types out of it and evaluates the body for each parameter type.
|
void |
PropertyTagsHandler.forAllPropertiesWithTag(java.lang.String template,
java.util.Properties attributes)
Evaluates the body block for each property of current mbean.
|
java.lang.String |
ClassTagsHandler.fullClassName()
Returns the full-qualified name of the current class.
|
java.lang.String |
ClassTagsHandler.fullSuperclassName()
Returns the full-qualified name of the superclass of the current class.
|
java.lang.String |
ClassTagsHandler.fullTransformedClassName()
Returns the fully-qualified transformed name of the current class with package name.
|
protected void |
MergeTagsHandler.generateFileUsingTemplate(java.lang.String dest_file,
java.lang.String templateFileName)
A utility method used for generating the dest_file based on template_file template file.
|
protected void |
MergeTagsHandler.generateUsingMergedFile(java.lang.String mergeFile,
java.lang.String contents)
Processes the file specified in merge_file_pattern that has the text content contents.
|
java.lang.String |
FieldTagsHandler.getCapitalizedFieldName()
Returns the capitalized name of the current field.
|
java.lang.Object |
ConfigTagsHandler.getConfigParameter(java.lang.String paramName)
Returns the value for the specified configuration parameter.
|
static java.lang.String |
FieldTagsHandler.getFieldTypeFor(xjavadoc.XField field)
Gets the FieldTypeFor attribute of the FieldTagsHandler class
|
java.lang.String |
TranslatorTagsHandler.getString(java.util.Properties attributes)
Returns a localized text string.
|
java.lang.String |
MethodTagsHandler.getterMethod()
Returns the getter method name for the current method by prefixing the method name with the proper getter prefix.
|
java.lang.String |
MethodTagsHandler.getterPrefix()
Returns 'get' or 'is' getter prefix part of the current method.
|
protected xjavadoc.XExecutableMember |
AbstractProgramElementTagsHandler.getXExecutableMemberForMemberName(java.lang.String memberName,
boolean superclasses,
int forType)
Searches for the XExecutableMember of the member with name methodName and returns it.
|
protected xjavadoc.XExecutableMember |
AbstractProgramElementTagsHandler.getXExecutableMemberForMemberName(java.lang.String memberName,
int forType)
Gets the XExecutableMemberForMemberName attribute of the AbstractProgramElementTagsHandler object
|
protected static boolean |
AbstractProgramElementTagsHandler.hasExecutableMember_OLD(xjavadoc.XClass clazz,
java.lang.String executableMemberName,
java.lang.String[] parameters,
boolean setCurrentExecutableMember,
int forType) |
protected static boolean |
AbstractProgramElementTagsHandler.hasExecutableMember(xjavadoc.XClass clazz,
java.lang.String executableMemberName,
java.lang.String[] parameters,
boolean setCurrentExecutableMember,
int forType) |
static boolean |
MethodTagsHandler.hasMethod(xjavadoc.XClass clazz,
java.lang.String methodName,
java.lang.String[] parameters,
boolean setCurrentMethod)
Returns true if a method with the specified methodName+parameters is found in the class clazz.
|
java.lang.String |
IdTagsHandler.id(java.util.Properties attributes)
Generates an id attribute based on the given tag values.
|
void |
ClassTagsHandler.ifClassTagValueEquals(java.lang.String template,
java.util.Properties attributes)
Evaluates the body if value for the class tag equals the specified value.
|
void |
ClassTagsHandler.ifClassTagValueMatches(java.lang.String template,
java.util.Properties attributes)
Evaluate the body if the match variable equals with the value of the specified tag/parameter.
|
void |
ClassTagsHandler.ifClassTagValueNotEquals(java.lang.String template,
java.util.Properties attributes)
Evaluates the body if value for the class tag not equals the specified value.
|
protected boolean |
ConfigTagsHandler.ifConfigParamEquals_Impl(java.util.Properties attributes)
The implementation of ifConfigParamEquals and ifConfigParamEquals tags.
|
void |
ConfigTagsHandler.ifConfigParamEquals(java.lang.String template,
java.util.Properties attributes)
Evaluate the body if the value of the configuration parameter equals value.
|
protected boolean |
ConfigTagsHandler.ifConfigParamGreaterOrEquals_Impl(java.util.Properties attributes)
The implementation of ifConfigParamGreaterOrEquals and ifConfigParamNotGreaterOrEquals tags.
|
void |
ConfigTagsHandler.ifConfigParamGreaterOrEquals(java.lang.String template,
java.util.Properties attributes)
Evaluate the body if the value of the configuration parameter is greater or equal to value.
|
void |
ConfigTagsHandler.ifConfigParamNotEquals(java.lang.String template,
java.util.Properties attributes)
Evaluate the body if the value of the configuration parameter doesn't equal value.
|
void |
ConfigTagsHandler.ifConfigParamNotGreaterOrEquals(java.lang.String template,
java.util.Properties attributes)
Evaluate the body if the value of the configuration parameter is not greater or equal to value.
|
void |
ConstructorTagsHandler.ifConstructorTagValueEquals(java.lang.String template,
java.util.Properties attributes)
Evaluates the body if value for the constructor tag equals the specified value.
|
void |
ConstructorTagsHandler.ifConstructorTagValueNotEquals(java.lang.String template,
java.util.Properties attributes)
Evaluates the body if value for the constructor tag not equals the specified value.
|
void |
ClassTagsHandler.ifDoesntHaveClassTag(java.lang.String template,
java.util.Properties attributes)
Evaluates the body if current class doesn't have at least one tag with the specified name.
|
void |
ConstructorTagsHandler.ifDoesntHaveConstructor(java.lang.String template,
java.util.Properties attributes)
Evaluate the body if current class doesn't have a constructor with the specified name+parameters.
|
void |
ConstructorTagsHandler.ifDoesntHaveConstructorTag(java.lang.String template,
java.util.Properties attributes)
Evaluates the body if current constructor doesn't have at least one tag with the specified name.
|
void |
FieldTagsHandler.ifDoesntHaveFieldTag(java.lang.String template,
java.util.Properties attributes)
Evaluates the body if current field doesnt have any tags with the specified name.
|
void |
MethodTagsHandler.ifDoesntHaveMethod(java.lang.String template,
java.util.Properties attributes)
Evaluate the body if current class doesn't have a method with the specified name+parameters.
|
void |
MethodTagsHandler.ifDoesntHaveMethodTag(java.lang.String template,
java.util.Properties attributes)
Evaluates the body if current method doesn't have at least one tag with the specified name.
|
void |
MethodTagsHandler.ifDoesntReturnVoid(java.lang.String template,
java.util.Properties attributes)
Evaluates the body block if current method doesn't return void.
|
void |
MethodTagsHandler.ifDoesntThrowException(java.lang.String template,
java.util.Properties attributes)
Evaluate the body block if current method doesn't throw the exceptions specified in the
exceptions
attribute. |
void |
FieldTagsHandler.ifFieldTagValueEquals(java.lang.String template,
java.util.Properties attributes)
Evaluates the body if value for the field tag equals the specified value.
|
void |
ClassTagsHandler.ifHasClassTag(java.lang.String template,
java.util.Properties attributes)
Evaluates the body if current class has at least one tag with the specified name.
|
void |
ConfigTagsHandler.ifHasConfigParam(java.lang.String template,
java.util.Properties attributes)
Evaluates the body if config parameter specified is not null.
|
void |
ConstructorTagsHandler.ifHasConstructor(java.lang.String template,
java.util.Properties attributes)
Evaluate the body if current class has a constructor with the specified name+parameters.
|
void |
ConstructorTagsHandler.ifHasConstructorTag(java.lang.String template,
java.util.Properties attributes)
Evaluates the body if current constructor has at least one tag with the specified name.
|
void |
FieldTagsHandler.ifHasFieldTag(java.lang.String template,
java.util.Properties attributes)
Evaluates the body if current field has at least one tag with the specified name.
|
void |
PropertyTagsHandler.ifHasGetMethodWithTag(java.lang.String template,
java.util.Properties attributes)
The block tag
ifHasGetMethodWithTag looks for a get method based on the attribute name from the
current method, sets the current method to that get method, and applies the template if found. |
void |
MethodTagsHandler.ifHasMethod(java.lang.String template,
java.util.Properties attributes)
Evaluate the body if current class has a method with the specified name+parameters.
|
void |
MethodTagsHandler.ifHasMethodComment(java.lang.String template)
Evaluates the body block if current method has a javadoc comment.
|
void |
MethodTagsHandler.ifHasMethodTag(java.lang.String template,
java.util.Properties attributes)
Evaluates the body if current method has at least one tag with the specified name.
|
void |
ParameterTagsHandler.ifHasParams(java.lang.String template,
java.util.Properties attributes)
Evaluates the body of the tag if current method/constructor has parameters.
|
void |
PropertyTagsHandler.ifHasParamWithTag(java.lang.String template,
java.util.Properties attributes)
Determines if there is a get or set method with the required tag for the current property that also has the
requested parameter.
|
void |
PropertyTagsHandler.ifHasSetMethodWithTag(java.lang.String template,
java.util.Properties attributes)
The block tag
ifHasSetMethodWithTag looks for a set method based on the attribute name from the
current method, sets the current method to that set method, and applies the template if found. |
void |
MethodTagsHandler.ifIsAbstract(java.lang.String template,
java.util.Properties attributes)
Evaluate the body block if current method is abstract.
|
void |
ClassTagsHandler.ifIsClassAbstract(java.lang.String template)
Evaluate the body block if current class is abstract.
|
void |
ClassTagsHandler.ifIsClassNotAbstract(java.lang.String template)
Evaluate the body block if current class is not abstract.
|
void |
MethodTagsHandler.ifIsGetter(java.lang.String template,
java.util.Properties attributes)
Evaluates the body if the specified method (or current method if none is supplied) is a getter method.
|
void |
MethodTagsHandler.ifIsNotAbstract(java.lang.String template,
java.util.Properties attributes)
Evaluates the body block if current method is not abstract.
|
void |
TypeTagsHandler.ifIsNotOfType(java.lang.String template,
java.util.Properties attributes)
Evaluate the body block if the entity is not of the specified type.
|
void |
MethodTagsHandler.ifIsNotOfType(java.lang.String template,
java.util.Properties attributes)
Evaluates the body if the return type of the current method doesn't equal the specified value.
|
void |
TypeTagsHandler.ifIsNotPrimitive(java.lang.String template,
java.util.Properties attributes)
Evaluate the body block if the value is not of a primitive type.
|
void |
TypeTagsHandler.ifIsNotPrimitiveArray(java.lang.String template,
java.util.Properties attributes)
Evaluate the body block if the value is not of a primitive array type.
|
void |
TypeTagsHandler.ifIsNotPrimitiveOrString(java.lang.String template,
java.util.Properties attributes)
Evaluate the body block if the value is of a primitive type or String.
|
protected void |
TypeTagsHandler.ifIsOfType_Impl(java.lang.String template,
java.util.Properties attributes,
boolean condition)
Implementation of
ifIsOfType and ifIsNotOfType tags. |
void |
TypeTagsHandler.ifIsOfType(java.lang.String template,
java.util.Properties attributes)
Evaluate the body block if the entity is of the specified type.
|
void |
MethodTagsHandler.ifIsOfType(java.lang.String template,
java.util.Properties attributes)
Evaluates the body if the return type of the current method equals the specified value.
|
boolean |
MethodTagsHandler.ifIsOfTypeImpl(java.lang.String template,
java.util.Properties attributes) |
void |
TypeTagsHandler.ifIsPrimitive(java.lang.String template,
java.util.Properties attributes)
Evaluate the body block if the value is of a primitive type.
|
void |
TypeTagsHandler.ifIsPrimitiveArray(java.lang.String template,
java.util.Properties attributes)
Evaluate the body block if the value is of a primitive array type.
|
void |
TypeTagsHandler.ifIsPrimitiveOrString(java.lang.String template,
java.util.Properties attributes)
Evaluate the body block if the value is of a primitive type or String.
|
void |
MethodTagsHandler.ifIsPublic(java.lang.String template)
Evaluates the body if the current method has public visibility.
|
void |
MethodTagsHandler.ifIsSetter(java.lang.String template,
java.util.Properties attributes)
Evaluates the body if the specified method (or current method if none is supplied) is a setter method.
|
void |
MergeTagsHandler.ifMergeFileExists(java.lang.String template,
java.util.Properties attributes)
Evaluates the body if the file exists specified by the "file" attribute.
|
void |
MethodTagsHandler.ifMethodNameEquals(java.lang.String template,
java.util.Properties attributes)
Evaluates the body if method name equals to the specified value.
|
void |
MethodTagsHandler.ifMethodNameNotEquals(java.lang.String template,
java.util.Properties attributes)
Evaluates the body if method name equals to the specified value.
|
void |
MethodTagsHandler.ifMethodTagValueEquals(java.lang.String template,
java.util.Properties attributes)
Evaluates the body if value for the method tag equals the specified value.
|
void |
MethodTagsHandler.ifMethodTagValueNotEquals(java.lang.String template,
java.util.Properties attributes)
Evaluates the body if value for the method tag not equals the specified value.
|
void |
MethodTagsHandler.ifReturnsVoid(java.lang.String template,
java.util.Properties attributes)
Evaluate the body block if current method returns void.
|
void |
MethodTagsHandler.ifThrowsException(java.lang.String template,
java.util.Properties attributes)
Evaluate the body block if current method throws the exceptions specified in the
exceptions
attribute. |
java.lang.String |
ClassTagsHandler.importedList(java.util.Properties attributes)
Deprecated.
Make sure the template file uses full qualified class names everywhere instead.
|
java.lang.String |
AbstractProgramElementTagsHandler.matchValue()
Returns the value of match variable.
|
protected java.lang.String |
AbstractProgramElementTagsHandler.memberComment(java.util.Properties attributes,
int forType)
The comment for the current class member of the specified type (field, constructor or method).
|
void |
MergeTagsHandler.merge(java.lang.String template,
java.util.Properties attributes)
Merge contents of the file designated by the file parameter and evaluates the body if the file is not found.
|
java.lang.String |
MethodTagsHandler.methodComment(java.util.Properties attributes)
The comment for the current method.
|
java.lang.String |
MethodTagsHandler.methodName(java.util.Properties attributes)
Returns the name of the current method.
|
java.lang.String |
MethodTagsHandler.methodNameWithoutPrefix()
Returns the name of the current method without the first three characters.
|
java.lang.String |
ParameterTagsHandler.methodParamDescription()
The
methodParamDescription method returns the comment text associated with the ParamTag for the
current Parameter |
java.lang.String |
ParameterTagsHandler.methodParamName()
Returns the name of the current method parameter, current method parameter is set inside a forAllMethodParams tag
in each iteration.
|
java.lang.String |
ParameterTagsHandler.methodParamType(java.util.Properties attributes)
Returns the type of the current method parameter, current method parameter is set inside a forAllMethodParams tag
in each iteration.
|
java.lang.String |
MethodTagsHandler.methodTagValue(java.util.Properties attributes)
Iterates over all method tags with the specified tagName for the current method probably inside of a
forAllMethodTags body.
|
java.lang.String |
MethodTagsHandler.methodType(java.util.Properties attributes)
Returns the return type of the current method.
|
java.lang.String |
MethodTagsHandler.modifiers()
Any modifiers (static, volatile, etc.) for the current method.
|
java.lang.String |
FieldTagsHandler.modifiers()
Describe what the method does
|
java.lang.String |
ConstructorTagsHandler.modifiers()
Describe what the method does
|
java.lang.String |
ClassTagsHandler.modifiers()
The current class' modifiers.
|
void |
PackageTagsHandler.packageDeclarationOf(java.lang.String template)
Writes the package declaration for the package name of the full-qualified class name specified in the body of
this tag.
|
java.lang.String |
PackageTagsHandler.packageName()
Returns the current package name.
|
java.lang.String |
PackageTagsHandler.packageNameAsPath()
Returns the current package name as a path.
|
void |
PackageTagsHandler.packageOf(java.lang.String template)
Returns the not-full-qualified package name of the full-qualified class name specified in the body of this tag.
|
java.lang.String |
ParameterTagsHandler.parameterList(java.util.Properties attributes)
Iterates over all parameters in current method and returns a string containing definition of all those
parameters.
|
java.lang.String |
PropertyTagsHandler.paramValueWithTag(java.util.Properties attributes)
Looks for a get or set method with the required tag for the current property that also has the requested
parameter, and returns the value of the requested parameter if present.
|
java.lang.String |
IdTagsHandler.prefixedId(java.util.Properties attributes)
Generates an id attribute based on the given prefix.
|
java.lang.String |
MethodTagsHandler.propertyName()
Returns the property name extracted from the current method name.
|
java.lang.String |
PropertyTagsHandler.propertyTypeWithTag(java.util.Properties attributes)
The
propertyTypeWithTag method figures out the type for the current property with tag by looking for
a getter, then a setter. |
java.lang.String |
XmlTagsHandler.publicId()
Returns the DTD's public ID for an XML template.
|
void |
ClassTagsHandler.pushClass(java.lang.String template,
java.util.Properties attributes)
Pushes the class specified by value parameter to top of stack making it the current class.
|
java.lang.String |
XmlTagsHandler.schema()
Returns the schema for an XML template.
|
void |
ConstructorTagsHandler.setCurrentConstructor(java.lang.String template,
java.util.Properties attributes)
Evaluate the body if current class has a constructor with the specified name+parameters.
|
void |
MethodTagsHandler.setCurrentMethod(java.lang.String template,
java.util.Properties attributes)
Evaluate the body if current class has a method with the specified name+parameters.
|
void |
AbstractProgramElementTagsHandler.setMatchValue(java.lang.String template,
java.util.Properties attributes)
Sets the value of match variable.
|
java.lang.String |
MethodTagsHandler.setterMethod()
Returns the setter method name for the current method by prefixing the method name with a 'set' and removing the
getter method's 'get' or 'is' prefixes, if any.
|
java.lang.String |
AbstractProgramElementTagsHandler.skipToken(java.util.Properties attributes)
Skips current token.
|
java.lang.String |
ClassTagsHandler.symbolicClassName()
Returns the symbolic name of the current class.
|
java.lang.String |
XmlTagsHandler.systemId()
Returns the DTD's system ID for an XML template.
|
java.lang.String |
TagDefTagsHandler.tagDef(java.util.Properties attributes)
Defines a template tag handler for a template tag to TemplateEngine.
|
java.lang.String |
ClassTagsHandler.transformedClassName()
Returns the transformed name of the current class with package name.
|
java.lang.String |
MethodTagsHandler.transformedMethodType(java.util.Properties attributes)
Returns the transformed return type of the current method.
|
java.lang.String |
TypeTagsHandler.typeWithoutDimensions(java.util.Properties attributes)
Returns the type specified with the
type parameter without dimensions. |
Modifier and Type | Method and Description |
---|---|
void |
XmlValidator.validate(java.io.File xmlFile)
Validates an XML file for conformance to a declared DTD or XMLSchema.
|