
package org.teleal.cling.support.contentdirectory.descriptor.upnp;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for writeStatusValue.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * <p>
 * <pre>
 * &lt;simpleType name="writeStatusValue">
 *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     &lt;enumeration value="WRITABLE"/>
 *     &lt;enumeration value="PROTECTED"/>
 *     &lt;enumeration value="NOT_WRITABLE"/>
 *     &lt;enumeration value="UNKNOWN"/>
 *     &lt;enumeration value="MIXED"/>
 *   &lt;/restriction>
 * &lt;/simpleType>
 * </pre>
 * 
 */
@XmlType(name = "writeStatusValue")
@XmlEnum
public enum WriteStatusValue {

    WRITABLE,
    PROTECTED,
    NOT_WRITABLE,
    UNKNOWN,
    MIXED;

    public String value() {
        return name();
    }

    public static WriteStatusValue fromValue(String v) {
        return valueOf(v);
    }

}
