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)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EdmProviderFactory
public EdmProviderFactory()
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-2015 The Apache Software Foundation. All Rights Reserved.