Package be.ehealth.technicalconnector.validator.impl

# Class XMLValidatorImpl

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

All Implemented Interfaces:
  `XMLValidator`

Direct Known Subclasses:
  `GenericAsyncXmlValidatorImpl`

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
  Description
  `XMLValidatorImpl()`

- ## Method Summary

  Modifier and Type
  Method
  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 Details

  - ### XMLValidatorImpl

    public XMLValidatorImpl()

- ## Method Details

  - ### 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:
      - invalid reference

            be.ehealth.businessconnector.dmg.validators.DmgXmlValidator#validate(Object xmlObject)