Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 
 package org.virtualbox_4_2.jaxws;
 

Java class for AdditionsFacilityType.

The following schema fragment specifies the expected content contained within this class.

 <simpleType name="AdditionsFacilityType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="None"/>
     <enumeration value="VBoxGuestDriver"/>
     <enumeration value="AutoLogon"/>
     <enumeration value="VBoxService"/>
     <enumeration value="VBoxTrayClient"/>
     <enumeration value="Seamless"/>
     <enumeration value="Graphics"/>
     <enumeration value="All"/>
   </restriction>
 </simpleType>
 
@XmlType(name = "AdditionsFacilityType")
public enum AdditionsFacilityType {
    @XmlEnumValue("None")
    NONE("None"),
    @XmlEnumValue("VBoxGuestDriver")
    V_BOX_GUEST_DRIVER("VBoxGuestDriver"),
    @XmlEnumValue("AutoLogon")
    AUTO_LOGON("AutoLogon"),
    @XmlEnumValue("VBoxService")
    V_BOX_SERVICE("VBoxService"),
    @XmlEnumValue("VBoxTrayClient")
    V_BOX_TRAY_CLIENT("VBoxTrayClient"),
    @XmlEnumValue("Seamless")
    SEAMLESS("Seamless"),
    @XmlEnumValue("Graphics")
    GRAPHICS("Graphics"),
    @XmlEnumValue("All")
    ALL("All");
    private final String value;
         = v;
    }
    public String value() {
        return ;
    }
    public static AdditionsFacilityType fromValue(String v) {
        for (AdditionsFacilityType c: AdditionsFacilityType.values()) {
            if (c.value.equals(v)) {
                return c;
            }
        }
        throw new IllegalArgumentException(v);
    }
New to GrepCode? Check out our FAQ X