org.jboss.shrinkwrap.descriptor.api.webcommon31.NullCharType Maven / Gradle / Ivy
package org.jboss.shrinkwrap.descriptor.api.webcommon31;
/**
* This class implements the null-charType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
*/
public enum NullCharType
{
_("");
private String value;
NullCharType (String value) { this.value = value; }
public String toString() {return value;}
public static NullCharType getFromStringValue(String value)
{
for(NullCharType type: NullCharType.values())
{
if(value != null && type.toString().equals(value))
{ return type;}
}
return null;
}
}