org.apache.olingo.client.api.serialization

## Interface ODataMetadataValidation

-     public interface ODataMetadataValidation

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isServiceDocument(XMLMetadata xmlMetadata)` This method checks if if its a service document based on the XMLMetadata provided
    `boolean` | `isV4Metadata(XMLMetadata xmlMetadata)` This method checks if if its a V4 metadata based on the XMLMetadata provided
    `void` | `validateMetadata(Edm edm)` This method validates the metadata based on the Edm provided
    `void` | `validateMetadata(XMLMetadata xmlMetadata)` This method validates the metadata based on the XMLMetadata provided

- - ### Method Detail

    - #### validateMetadata

          void validateMetadata(Edm edm)

      This method validates the metadata based on the Edm provided
      Parameters:
        `edm` -

    - #### validateMetadata

          void validateMetadata(XMLMetadata xmlMetadata)

      This method validates the metadata based on the XMLMetadata provided
      Parameters:
        `xmlMetadata` -

    - #### isV4Metadata

          boolean isV4Metadata(XMLMetadata xmlMetadata)
                        throws Exception

      This method checks if if its a V4 metadata based on the XMLMetadata provided
      Parameters:
        `xmlMetadata` -
      Throws:
        `Exception`

    - #### isServiceDocument

          boolean isServiceDocument(XMLMetadata xmlMetadata)

      This method checks if if its a service document based on the XMLMetadata provided
      Parameters:
        `xmlMetadata` -

Copyright © 2013–2022 The Apache Software Foundation. All rights reserved.