Hi.
In Jaxb 1.x it was simply:
Validator validator = jaxbContext.createValidator();
validator.validate(collection);
In Jaxb 2.0 Validator is deprecated when i want to use it i get:
java.lang.UnsupportedOperationException: This feature is not available
in JAXB RI 2.0
So how to validate collection which is in memory, before calling
marshall ? Or maybe its possible to get information about field if is it
required or no.
--
Michał Letyński
ConSol* Consulting & Solutions Software Poland Sp. z o.o.
ul. Piastowska 44c, 30-070 Krakow
mail: mikel_at_consol.pl
tel: +48 609 266 753