I know for annotation @XmlTransient , but sometimes I need this element, and in other cases of use I really have to prevent it from unmarshaling, because it contains base64 text. Therefore, I need to exclude it due to performance issues.
Is there a way to dynamically exclude one element from unmarshaling with JAXB?
source
share