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

java.lang.Object
  extended by 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)


Constructor Summary
EdmProviderFactory()
           
 
Method Summary
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
 

Constructor Detail

EdmProviderFactory

public EdmProviderFactory()
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-2015 The Apache Software Foundation. All Rights Reserved.