Type

Implemented in class xdoclet.tagshandler.TypeTagsHandler.

Block Tags:

ifIsPrimitive (block template)

Evaluate the body block if the value is of a primitive type.

value A string containsing the type name.

ifIsPrimitiveArray (block template)

Evaluate the body block if the value is of a primitive array type.

value A string containsing the type name.

ifIsNotPrimitiveArray (block template)

Evaluate the body block if the value is not of a primitive array type.

value A string containsing the type name.

ifIsPrimitiveOrString (block template)

Evaluate the body block if the value is of a primitive type or String.

value A string containsing the type name.

ifIsNotPrimitiveOrString (block template)

Evaluate the body block if the value is of a primitive type or String.

value A string containsing the type name.

ifIsNotPrimitive (block template)

Evaluate the body block if the value is not of a primitive type.

value A string containsing the type name.

ifIsNotOfType (block template)

Evaluate the body block if the entity is not of the specified type.

value If class then check current class's type, if return-type then check current method return type, if property-type and the current method is a getter or setter then check current method's property type. Default is class.

Valid Values = {class,return-type}
type The type we are checking against.

[extent] Specifies the extent of the type search. If concrete-type then only check the concrete type, if superclass then check also superclass, if hierarchy then search the whole hierarchy and find if the class is of the specified type. Default is hierarchy.

Valid Values = {concrete-type,superclass,hierarchy}

ifIsOfType (block template)

Evaluate the body block if the entity is of the specified type.

[value] If class then check current class's type, if return-type then check current method return type, if property-type and the current method is a getter or setter then check current method's property type. Default is class.

Valid Values = {class,return-type,property-type}
type The type we are checking against.

[extent] Specifies the extent of the type search. If concrete-type then only check the concrete type, if superclass then check also superclass, if hierarchy then search the whole hierarchy and find if the class is of the specified type. Default is hierarchy.

Valid Values = {concrete-type,superclass,hierarchy}

Content templates:

typeWithoutDimensions (content template)

Returns the type specified with the type parameter without dimensions.

type Specifies the type to return without dimensions. So, the value String[][] will be returned as String.