Class JsonPropertyConsumer
java.lang.Object
org.apache.olingo.odata2.core.ep.consumer.JsonPropertyConsumer
JSON property consumer.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidreadAndCheckTypeInfo(com.google.gson.stream.JsonReader reader, String expectedTypeName) List<?> readCollection(com.google.gson.stream.JsonReader reader, EntityPropertyInfo propertyInfo, EntityProviderReadProperties readProperties) readPropertyStandalone(com.google.gson.stream.JsonReader reader, EdmProperty edmProperty, EntityProviderReadProperties readProperties) readPropertyStandalone(com.google.gson.stream.JsonReader reader, EntityPropertyInfo propertyInfo, EntityProviderReadProperties readProperties) protected ObjectreadPropertyValue(com.google.gson.stream.JsonReader reader, EntityPropertyInfo entityPropertyInfo, Object typeMapping, EntityProviderReadProperties readProperties)
-
Constructor Details
-
JsonPropertyConsumer
public JsonPropertyConsumer()
-
-
Method Details
-
readPropertyStandalone
public Map<String,Object> readPropertyStandalone(com.google.gson.stream.JsonReader reader, EdmProperty edmProperty, EntityProviderReadProperties readProperties) throws EntityProviderException - Throws:
EntityProviderException
-
readPropertyStandalone
public Map<String,Object> readPropertyStandalone(com.google.gson.stream.JsonReader reader, EntityPropertyInfo propertyInfo, EntityProviderReadProperties readProperties) throws EntityProviderException - Throws:
EntityProviderException
-
readCollection
public List<?> readCollection(com.google.gson.stream.JsonReader reader, EntityPropertyInfo propertyInfo, EntityProviderReadProperties readProperties) throws EntityProviderException - Throws:
EntityProviderException
-
readPropertyValue
protected Object readPropertyValue(com.google.gson.stream.JsonReader reader, EntityPropertyInfo entityPropertyInfo, Object typeMapping, EntityProviderReadProperties readProperties) throws EntityProviderException - Throws:
EntityProviderException
-
readAndCheckTypeInfo
protected void readAndCheckTypeInfo(com.google.gson.stream.JsonReader reader, String expectedTypeName) throws IOException, EntityProviderException - Throws:
IOExceptionEntityProviderException
-