Hello,
are you using Jersey? If so, JAXB Decorators are RESTEasy feature and
Jersey does not implement it, but you can achieve similar functionality
by creating ContextResolver<Marshaller> or <JAXBContext>.
If you are using RESTEasy, please use their mailing list for questions.
Regards,
Pavel
On 8/8/11 10:11 PM, sanketi wrote:
> Hi,
> I am using JAXB decorators as provided in chapter 17 of
> RESTEasy_Reference_Guide for validating against schema.
>
> I would like to know if there is a way to trigger decorators during
> unmarshalling of specific elements - for e.g I would like to do some extra
> validations when unmarshalling every String in xml to ensure no scripts are
> specified.
>
> Is it possible? Thanks for help.
>
> --
> View this message in context: http://jersey.576304.n2.nabble.com/JAXB-decorators-for-unmarshalling-an-element-tp6665714p6665714.html
> Sent from the Jersey mailing list archive at Nabble.com.
>