Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 
 package org.docx4j.sharedtypes;
 

Java class for ST_ConformanceClass.

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

 <simpleType name="ST_ConformanceClass">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="strict"/>
     <enumeration value="transitional"/>
   </restriction>
 </simpleType>
 
@XmlType(name = "ST_ConformanceClass", namespace = "http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes")
public enum STConformanceClass {


    
Office Open XML Strict
    @XmlEnumValue("strict")
    STRICT("strict"),

    
Office Open XML Transitional
    @XmlEnumValue("transitional")
    TRANSITIONAL("transitional");
    private final String value;
         = v;
    }
    public String value() {
        return ;
    }
    public static STConformanceClass fromValue(String v) {
        for (STConformanceClass c: STConformanceClass.values()) {
            if (c.value.equals(v)) {
                return c;
            }
        }
        throw new IllegalArgumentException(v);
    }
New to GrepCode? Check out our FAQ X