be.ehealth.technicalconnector.validator.impl

## Class XMLValidatorImpl

- java.lang.Object
- - be.ehealth.technicalconnector.validator.impl.XMLValidatorImpl

- All Implemented Interfaces:
    XMLValidator

      public class XMLValidatorImpl
      extends Object
      implements XMLValidator

  Implementation for `XMLValidator` When you override this class, you need to initialise the map XSD_FILE_LOCATION_FOR_CLASS_MAP with the XSDs you need the map containing the xsd files is already created in this superclass. only files should be added.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `XMLValidatorImpl()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `validate(Object xmlObject)` Validates a JAXB object

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### XMLValidatorImpl

          public XMLValidatorImpl()

  - ### Method Detail

    - #### validate

          public void validate(Object xmlObject)
                        throws TechnicalConnectorException

      Description copied from interface: `XMLValidator`
      Validates a JAXB object
      Specified by:
        `validate` in interface `XMLValidator`
      Parameters:
        `xmlObject` - the JAXB object
      Throws:
        `TechnicalConnectorException`
      See Also:
        `be.ehealth.businessconnector.dmg.validators.DmgXmlValidator#validate(Object xmlObject)`

Connector Packaging TECHNICAL 4.5.4 API
Copyright © {inceptionYear}-2024 eHealth. All Rights Reserved.