Class JsonPropertyConsumer
- java.lang.Object
-
- org.apache.olingo.odata2.core.ep.consumer.JsonPropertyConsumer
-
public class JsonPropertyConsumer extends Object
JSON property consumer.
-
-
Constructor Summary
Constructors Constructor Description JsonPropertyConsumer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidreadAndCheckTypeInfo(com.google.gson.stream.JsonReader reader, String expectedTypeName)List<?>readCollection(com.google.gson.stream.JsonReader reader, EntityPropertyInfo propertyInfo, EntityProviderReadProperties readProperties)Map<String,Object>readPropertyStandalone(com.google.gson.stream.JsonReader reader, EdmProperty edmProperty, EntityProviderReadProperties readProperties)Map<String,Object>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)
-
-
-
Method Detail
-
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
-
-