JAXB unmarshal exclude specific element

Posted by zigomir on Stack Overflow See other posts from Stack Overflow or by zigomir
Published on 2010-03-11T15:13:32Z Indexed on 2010/03/12 22:07 UTC
Read the original article Hit count: 296

Filed under:
|

Hi everyone!

I know for @XmlTransient annotation, but sometimes I need this element and in other use cases I really have to prevent it from unmarshaling, because it contains base64 text. So I need to exclude it because performance problems.

Is there any way to dynamicly exclude one element from unmarshaling with JAXB?

© Stack Overflow or respective owner

Related posts about jaxb

Related posts about java