Package xmlparser.annotations
Annotation Interface XmlEnumDefaultValue
Uses the selected default value in case there is no match. Example:
Assuming the following XML input and class definitions
Will deserialize into an object with value 'two' for the field value. This annotation has no effect during serialization.<pojo><value>three</value></pojo>class Pojo { MyEnum value; } enum MyEnum { one, \@XmlEnumDefaultValue two }