Package com.helger.jaxb.builder
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 validatedIMPLTYPE- 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
-
Field Summary
Fields inherited from class com.helger.jaxb.builder.AbstractJAXBBuilder
m_aDocType -
Constructor Summary
ConstructorsConstructorDescriptionJAXBValidationBuilder(IJAXBDocumentType aDocType) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Methods inherited from class com.helger.jaxb.builder.AbstractWritingJAXBBuilder
createJAXBElement, createMarshaller, getMarshallerCustomizer, setMarshallerCustomizerMethods inherited from class com.helger.jaxb.builder.AbstractJAXBBuilder
exceptionCallbacks, getClassLoader, getJAXBContext, getJAXBDocumentType, getSchema, isUseJAXBContextCache, isUseSchema, setUseJAXBContextCache, setUseSchema, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.helger.commons.traits.IGenericImplTrait
thisAsTMethods inherited from interface com.helger.commons.lang.IHasClassLoader
hasClassLoaderMethods inherited from interface com.helger.jaxb.IJAXBValidator
isUseSchema, isValid, validate
-
Constructor Details
-
JAXBValidationBuilder
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:IJAXBValidatorValidate the passed JAXB document.- Specified by:
validatein interfaceIJAXBValidator<JAXBTYPE>- Parameters:
aJAXBDocument- The JAXB document to be validated. May not benull.aErrorList- The error list to be filled. May not benull.
-