Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-users] MOXy 'Binding handler'

Title: MOXy 'Binding handler'

Hi,
i want to ask you if MOXy provides a handler to modify the property value if a validation error occurs during the binding.


I want to show you an example to explain what i mean:

<element>XX</element> has maxLength=1 schema restriction

1. unmarshall call
2. presumed characters handler: here i'm able to evaluate the validation error and to modify the element value (for example i can truncate XX value)
3. unmarshaller will bind the modified element value to the dto property

Does MOXy provides or will provides the functionality to act between point 2 and point 3?

Thank you,
Daniele








Back to the top