Class EdmProviderFactory
java.lang.Object
org.apache.olingo.odata2.api.edm.provider.EdmProviderFactory
EDM Provider Factory which can be used to create an edm provider (e.g. from a metadata document)
-
Method Summary
Modifier and TypeMethodDescriptionstatic EdmProvidergetEdmProvider(InputStream metadataXml, boolean validate) Creates and returns an edm provider.
-
Method Details
-
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
-