## Property

Implemented in class xdoclet.tagshandler.PropertyTagsHandler.

- Block Tags
- Content Tags

### Block Tags:

#### forAllPropertiesWithTag (block template)

Evaluates the body block for each property of current mbean.You may set whether superclasses are examined also with the superclass attribute. Finds properties with getter, setter, or both. The getter and setter should have javabean naming convention. Only methods with the supplied tag are considered in looking for properties.

[superclasses] | Include properties of superclasses. True by default. Valid Values = {true,false}
tagName | The required tag for methods to be considered a getter or setter. For example, jmx:managed-attribute.

#### ifHasGetMethodWithTag (block template)

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. This is used to look for getters for mbean managed attributes. The get method found may be the current method.

tagName | The required tag for methods to be considered a getter or setter. For example, jmx:managed-attribute.

#### ifHasSetMethodWithTag (block template)

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. This is used to look for setters for mbean managed attributes. The set method found may be the current method.

tagName | The required tag for methods to be considered a getter or setter. For example, jmx:managed-attribute.

#### ifHasParamWithTag (block template)

Determines if there is a get or set method with the required tag for the current property that also has the requested parameter.

tagName | The tag name required for a getter or setter to belong to a property.
[paramName] | The parameter name. Required for property parameter values. content of the tag is returned.

### Content templates:

#### propertyTypeWithTag (content template)

The `propertyTypeWithTag` method figures out the type for the current property with tag by looking for a getter, then a setter.

tagName | The required tag for methods to be considered a getter or setter. For example, jmx:managed-attribute.

#### paramValueWithTag (content template)

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.

tagName | The tag name required for a getter or setter to belong to a property.
[paramName] | The parameter name. Required for property parameter values. content of the tag is returned.
[default] |

#### getClassNameFor (content template)

Returns the not-full-qualified name of the current class without the package name.

#### getFullClassNameFor (content template)

Returns the full-qualified name of the current class with the package name.

#### getFullSuperclassNameFor (content template)

Returns the full-qualified name of the superclass of the current class.

#### setMatchValue (content template)

Sets the vaSoulue of match variable.

value | The new value for matchPattern.

#### matchValue (content template)

Returns the value of match variable. Match variable serves as a variable for templates, you set it somewhere in template and look it up somewhere else in template.

#### currentToken (content template)

Returns current token inside forAllClassTagTokens.

#### skipToken (content template)

Skips current token. Returns empty string.