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 Description static EdmProvidergetEdmProvider(InputStream metadataXml, boolean validate)Creates and returns an edm provider.
-
-
-
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- Caso ocorra uma exceção
-
-