Hi Amanda,
Amanda Varella wrote:
> Hi,
>
> I have a gigantic XML and I'm only interested in some parts of it. So, it
> wouldn't be necessary to map the whole class.
> If I ommit some attributes, I got an error.
>
> Is there any way I can do this?
If you use the ReflectionConverter, you will have to configure XStream with
omitField calls to ignore the elements to ignore. Alternatively you may
write your own custom converter that skips over the uninteresting elements.
See the converter tutorial, it's quite easy.
- Jörg
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email