All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cdc.gv.atts.GvFixedSize Maven / Gradle / Ivy

There is a newer version: 0.100.2
Show newest version
package cdc.gv.atts;

import cdc.gv.support.GvEncodable;

/**
 * Enumeration of possible fixed size values.
 *
 * @author Damien Carbonne
 *
 */
public enum GvFixedSize implements GvEncodable {
    FALSE,
    TRUE,
    SHAPE;

    @Override
    public String encode() {
        switch (this) {
        case FALSE:
            return "false";
        case TRUE:
            return "true";
        case SHAPE:
            return "shape";
        default:
            return "";
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy