Options can be set by setting the xmlOptions
property. The {@link XmlOptionsFactoryBean} is provided to easily set up an {@link XmlOptions} instance.
Unmarshalled objects can be validated by setting the validating
property, or by calling the {@link #validate(XmlObject)} method directly. Invalid objects willresult in an {@link ValidationFailureException}.
NOTE: Due to the nature of XMLBeans, this marshaller requires all passed objects to be of type {@link XmlObject}. @author Arjen Poutsma @since 3.0 @see #setValidating @see #setXmlOptions @see XmlOptionsFactoryBean
|
|