/*
 * 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 HttpEquiv {

    private String httpEquiv;

    public String getHttpEquiv() {
        return httpEquiv;
    }

    public void setHttpEquiv(Object httpEquiv) {
        this.httpEquiv = httpEquiv + "";
    }

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