Class JAXBValidationBuilder<JAXBTYPE,IMPLTYPE extends JAXBValidationBuilder<JAXBTYPE,IMPLTYPE>>

java.lang.Object
com.helger.jaxb.builder.AbstractJAXBBuilder<IMPLTYPE>
com.helger.jaxb.builder.AbstractWritingJAXBBuilder<JAXBTYPE,IMPLTYPE>
com.helger.jaxb.builder.JAXBValidationBuilder<JAXBTYPE,IMPLTYPE>
Type Parameters:
JAXBTYPE - The JAXB implementation class to be validated
IMPLTYPE - The implementation class implementing this abstract class.
All Implemented Interfaces:
com.helger.commons.lang.IHasClassLoader, com.helger.commons.traits.IGenericImplTrait<IMPLTYPE>, IJAXBValidator<JAXBTYPE>

@NotThreadSafe @Deprecated(forRemoval=true, since="11.0.0") public class JAXBValidationBuilder<JAXBTYPE,IMPLTYPE extends JAXBValidationBuilder<JAXBTYPE,IMPLTYPE>> extends AbstractWritingJAXBBuilder<JAXBTYPE,IMPLTYPE> implements IJAXBValidator<JAXBTYPE>
Deprecated, for removal: This API element is subject to removal in a future version.
Since v11 - use the GenericJAXBMarshaller instead - it deals with all of the stuff in one class. Will be removed in v12
Builder class for validating JAXB documents.
Author:
Philip Helger
  • Constructor Details

    • JAXBValidationBuilder

      public JAXBValidationBuilder(@Nonnull IJAXBDocumentType aDocType)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • validate

      public void validate(@Nonnull JAXBTYPE aJAXBDocument, @Nonnull com.helger.commons.error.list.ErrorList aErrorList)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: IJAXBValidator
      Validate the passed JAXB document.
      Specified by:
      validate in interface IJAXBValidator<JAXBTYPE>
      Parameters:
      aJAXBDocument - The JAXB document to be validated. May not be null.
      aErrorList - The error list to be filled. May not be null.