org.apache.olingo.odata2.api.edm.provider

## Class EdmProviderFactory

- java.lang.Object
- - org.apache.olingo.odata2.api.edm.provider.EdmProviderFactory

-     public class EdmProviderFactory
      extends Object

  EDM Provider Factory which can be used to create an edm provider (e.g. from a metadata document)

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static EdmProvider` | `getEdmProvider(InputStream metadataXml, boolean validate)` Creates and returns an edm provider.

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

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

- - ### Method Detail

    - #### getEdmProvider

          public static EdmProvider getEdmProvider(InputStream metadataXml,
                                                   boolean validate)
                                            throws EntityProviderException

      Creates and returns an edm provider.
      Parameters:
        `metadataXml` - a metadata xml input stream (means the metadata document)
        `validate` - true if semantic checks for metadata document input stream shall be done
      Returns:
        an instance of EdmProvider
      Throws:
        `EntityProviderException`

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