public XmlStringBuilder optIntAttribute(String name, int value) {
        if (value >= 0) {
            attribute(name, Integer.toString(value));
        }
        return this;
    }
public XmlStringBuilder optIntAttribute ( String name , int value ) { if ( value >= 0 ) { attribute ( name , Integer . toString ( value ) ) ; } return this ; }
Add the given attribute if {@code value => 0}.

@param name
@param value
@return a reference to this object