org.jboss.shrinkwrap.descriptor.api.facesconfig21.FacesConfigVersionType Maven / Gradle / Ivy
package org.jboss.shrinkwrap.descriptor.api.facesconfig21;
/**
* This class implements the faces-config-versionType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
* @author George Gastaldi
*/
public enum FacesConfigVersionType
{
_2_1("2.1");
private String value;
FacesConfigVersionType (String value) { this.value = value; }
public String toString() {return value;}
public static FacesConfigVersionType getFromStringValue(String value)
{
for(FacesConfigVersionType type: FacesConfigVersionType.values())
{
if(value != null && type.toString().equals(value))
{ return type;}
}
return null;
}
}