org.apache.olingo.odata2.client.api.ep

## Interface DeserializerMetadataProviderInterface

- All Known Implementing Classes:
    ODataClientImpl

      public interface DeserializerMetadataProviderInterface

  Interface for metadata deserializer methods.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `EdmDataServices` | `readMetadata(InputStream content, boolean validate)` Read (de-serialize) data from metadata `inputStream` (as `InputStream`) and provide Edm as `Edm`

- - ### Method Detail

    - #### readMetadata

          EdmDataServices readMetadata(InputStream content,
                                       boolean validate)
                                throws EntityProviderException,
                                       EdmException

      Read (de-serialize) data from metadata `inputStream` (as `InputStream`) and provide Edm as `Edm`
      Parameters:
        `inputStream` - the given input stream
        `validate` - has to be true if metadata should be validated
      Returns:
        Edm as `Edm`
      Throws:
        `EntityProviderException,` - EdmException if reading of data (de-serialization) fails
        `EntityProviderException`
        `EdmException`

Copyright © 2013-2022 The Apache Software Foundation. All Rights Reserved.