/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.nopy.html.attributes;

import com.nopy.html.util.UtilString;

/**
 *
 * @author rodrigo
 */
public class Minlength {

    private String minlength;

    public String getMinlength() {
        return minlength;
    }

    public void setMinlength(Object target) {
        this.minlength = target + "";
    }

    @Override
    public String toString() {
        return ((new UtilString()).isEmpty(this.minlength) ? "" : " minlength='" + this.minlength + "'");
    }
}
