public class JsonElementResolver extends IndexResolver
http://code.google.com/p/google-gson/| Modifier and Type | Field and Description |
|---|---|
static int |
JSON_ELEMENT_RESOLVER_PRIORITY |
static String |
NAME_UNWRAP_THIS |
static ConfigurationKey |
UNWRAP_JSON_PRIMITIVE_KEY |
BUILTIN_RESOLVERS_DEFAULT_PRIORITY, BUILTIN_TEMPLATE_LOCATORS_DEFAULT_PRIORITY, EXTENSION_RESOLVERS_DEFAULT_PRIORITY| Constructor and Description |
|---|
JsonElementResolver() |
JsonElementResolver(int priority) |
| Modifier and Type | Method and Description |
|---|---|
Set<ConfigurationKey> |
getConfigurationKeys() |
void |
init(Configuration configuration) |
Object |
resolve(Object contextObject,
String name,
ResolutionContext context) |
getIndexValue, isAnIndex, notAnIndexgetPriority, toStringpublic static final int JSON_ELEMENT_RESOLVER_PRIORITY
public static final String NAME_UNWRAP_THIS
public static final ConfigurationKey UNWRAP_JSON_PRIMITIVE_KEY
public JsonElementResolver()
public JsonElementResolver(int priority)
priority - public Object resolve(Object contextObject, String name, ResolutionContext context)
public void init(Configuration configuration)
init in interface ConfigurationAwareinit in class AbstractResolverpublic Set<ConfigurationKey> getConfigurationKeys()
getConfigurationKeys in interface ConfigurationAwaregetConfigurationKeys in class AbstractResolverCopyright © 2014. All Rights Reserved.