EjbEnv

Implemented in class xdoclet.modules.ejb.env.EnvTagsHandler.

Block Tags:

forAllTags (block template)

Executes the template for all class-, method- and field-level tags with the passed name

tagName the tag name

[paramName] the required parameter

[paramValue] the value for the required parameter

forAllMemberTags (block template)

Executes the template for all method- and field-level tags with the passed name

tagName the tag name

[paramName] the required parameter

[paramValue] the value for the required parameter

forAllMethodTags (block template)

Executes the template for all method-level tags with the passed name

tagName the tag name

[paramName] the required parameter

[paramValue] the value for the required parameter

ifHasType (block template)

Executes the body only if the current tag is either a method- or fiel-level tag or has a type parameter.

paramName the name of the name parameter

ifPrimitiveMember (block template)

Executes the body only if the current field type or method return type is primitive.

ifNotPrimitiveMember (block template)

Executes the body only if the current field type or method return type is not a primitive.

ifHasTag (block template)

Executes the body only if the current class has at least one ot the passed tags at field- or method-level

tagName the tag names (comma separated)

[paramName] tags must have this parameter

[paramValue] tags must have this value for the parameter with 'paramName'

Content templates:

name (content template)

Returns the name parameter value for the current tag. If the name parameter is not specified for a method- or field-level tag, the member's name is returned. If the name parameter is not specified for a class level tag, an error is generated.

paramName the name of the name parameter

type (content template)

Returns the type parameter value for the current tag. Returns the field type for field-level tags and the return value for method-level tags. For class-level tags, the value of the type parameter is returned. The wrapper class is returned for primitive fields an methods with primitive return values.

paramName the name of the type parameter

[values] The valid values for the parameter, comma separated. An error message is printed if the parameter value is not one of the values.

[default] The default value is returned if parameter not specified by user for the tag.

[mandatory]

Valid Values = {true,false}

memberName (content template)

Returns the method or field name. Can only be used inside forAllMemberTags or forAllMethodTags .

[prefix] the prefix for the name

memberType (content template)

Returns the method's return type or the field's type. Can only be used inside forAllMemberTags or forAllMethodTags.

methodSignature (content template)

Returns the method signature for the current method. Can only be used inside forAllMethodTags.

paramValue (content template)

Returns the value of a parameter.

paramName the name of the parameter

[values] The valid values for the parameter, comma separated. An error message is printed if the parameter value is not one of the values.

[default] The default value is returned if parameter not specified by user for the tag.

[mandatory]

Valid Values = {true,false}