public void ifMemberTagValueEquals(String template, Properties attributes) throws XDocletException
    {
        if (getCurrentField() != null) {
            if (isTagValueEqual(attributes, FOR_FIELD)) {
                generate(template);
            }
        }
        else if (getCurrentMethod() != null) {
            if (isTagValueEqual(attributes, FOR_METHOD)) {
                generate(template);
            }
        }
    }
public void ifMemberTagValueEquals ( String template , Properties attributes ) throws XDocletException { if ( getCurrentField ( ) != null ) { if ( isTagValueEqual ( attributes , FOR_FIELD ) ) { generate ( template ) ; } } else if ( getCurrentMethod ( ) != null ) { if ( isTagValueEqual ( attributes , FOR_METHOD ) ) { generate ( template ) ; } } }
Evaluates the body if value for the member tag equals the specified value.

@param template              The body of the block tag
@param attributes            The attributes of the template tag
@exception XDocletException  If an error occurs
@doc.tag                     type="block"
@doc.param                   name="tagName" optional="false" description="The tag name."
@doc.param                   name="paramName" description="The parameter name. If not specified, then the raw
content of the tag is returned."
@doc.param                   name="paramNum" description="The zero-based parameter number. It's used if the user
used the space-separated format for specifying parameters."
@doc.param                   name="value" optional="false" description="The expected value."