org.jboss.shrinkwrap.descriptor.api.jsptaglibrary21.VariableScopeType Maven / Gradle / Ivy
package org.jboss.shrinkwrap.descriptor.api.jsptaglibrary21;
/**
* This class implements the variable-scopeType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
* @author George Gastaldi
*/
public enum VariableScopeType
{
_NESTED("NESTED"),
_AT_BEGIN("AT_BEGIN"),
_AT_END("AT_END");
private String value;
VariableScopeType (String value) { this.value = value; }
public String toString() {return value;}
public static VariableScopeType getFromStringValue(String value)
{
for(VariableScopeType type: VariableScopeType.values())
{
if(value != null && type.toString().equals(value))
{ return type;}
}
return null;
}
}