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

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `validate(Object xmlObject)` Validates the given XML object against its registered XSD schema.

    - ### 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

      Validates the given XML object against its registered XSD schema.
      Specified by:
        `validate` in interface `XMLValidator`
      Parameters:
        `xmlObject` - the object to validate; must not be `null`
      Throws:
        `TechnicalConnectorException` - if `xmlObject` is null, has no registered XSD, or fails validation

Connector Packaging PERSOCCUPATIONALTHERAPIST 4.9.5 API
Copyright © {inceptionYear}-2026 eHealth. All Rights Reserved.