public abstract class EnumConstruct extends ValueConstruct
ValueConstruct
where the attribute values are constrained to a discrete set of valid
values.Modifier and Type | Method and Description |
---|---|
void |
setValue(java.lang.String v)
Sets the value.
|
equals, generate, getHandler, getValue, hashCode, hasValue, isRequired, putAttributes
disableStrictValidation, enableStrictValidation, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, setImmutable
public void setValue(java.lang.String v) throws java.lang.IllegalArgumentException
ValueConstruct
setValue
in class ValueConstruct
v
- new value for the value construct or null
to reset.java.lang.IllegalArgumentException
- if the value is invalid for the construct.