@Documented @Retention(value=RUNTIME) public @interface XmlDefaultValue
Configuration.
This differs from XmlElement.defaultValue() in that it always assigns the default value
when the class which contains annotated field is unmarshalled.
See this link
for an explanation how ordinary XmlElement default value works.
This annotation can also be used on properties which would not be touched by JAXB otherwise.
Copyright © 2013 Atteo. All Rights Reserved.