Hi everyone. First of all, excuse my english...
I have an xml structure lile this
<Something>
<header>
...
...
</header>
<body>
...
...
</body>
</Something>
I have a Message class with a Header and Body structures inside.
I have to unmarshall always the header tag, and depending on the value
of one of the childs of that tag, unmarshall the body tag. For that, I
have especified a post-set method in my Header class so that checks if
the value is correct, if not I throw a JibxException to stop the
unmarshall, but this causes the instance of the message unmarshalled
being null.
Is there a way to stop the unmarshalling, not with an exception?.
--
[EMAIL PROTECTED]
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users