Package | Description |
---|---|
com.restfb |
Contains types used to interact with the Facebook Graph API and the Legacy Facebook REST API.
|
Modifier and Type | Method and Description |
---|---|
protected Set<String> |
DefaultJsonMapper.facebookFieldNamesWithMultipleMappings(List<ReflectionUtils.FieldWithAnnotation<Facebook>> fieldsWithAnnotation)
Finds any Facebook JSON fields that are mapped to more than 1 Java field.
|
protected String |
DefaultJsonMapper.getFacebookFieldName(ReflectionUtils.FieldWithAnnotation<Facebook> fieldWithAnnotation)
For a Java field annotated with the
Facebook annotation, figure out
what the corresponding Facebook JSON field name to map to it is. |
protected void |
DefaultJsonMapper.logMultipleMappingFailedForField(String facebookFieldName,
ReflectionUtils.FieldWithAnnotation<Facebook> fieldWithAnnotation,
String json)
Dumps out a log message when one of a multiple-mapped Facebook field name
JSON-to-Java mapping operation fails.
|
protected Object |
DefaultJsonMapper.toJavaType(ReflectionUtils.FieldWithAnnotation<Facebook> fieldWithAnnotation,
JsonObject jsonObject,
String facebookFieldName)
Extracts JSON data for a field according to its
Facebook annotation
and returns it converted to the proper Java type. |
Copyright © 2014. All rights reserved.