Package org.jclouds.json.internal
Class NamingStrategies.AnnotationOrNameFieldNamingStrategy
- java.lang.Object
-
- org.jclouds.json.internal.NamingStrategies.AnnotationBasedNamingStrategy
-
- org.jclouds.json.internal.NamingStrategies.AnnotationFieldNamingStrategy
-
- org.jclouds.json.internal.NamingStrategies.AnnotationOrNameFieldNamingStrategy
-
- All Implemented Interfaces:
com.google.gson.FieldNamingStrategy
- Enclosing class:
- NamingStrategies
public static class NamingStrategies.AnnotationOrNameFieldNamingStrategy extends NamingStrategies.AnnotationFieldNamingStrategy implements com.google.gson.FieldNamingStrategy
-
-
Field Summary
-
Fields inherited from class org.jclouds.json.internal.NamingStrategies.AnnotationBasedNamingStrategy
annotationToNameExtractor, forToString
-
-
Constructor Summary
Constructors Constructor Description AnnotationOrNameFieldNamingStrategy(Iterable<? extends NamingStrategies.NameExtractor<?>> extractors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
translateName(Field f)
-
Methods inherited from class org.jclouds.json.internal.NamingStrategies.AnnotationBasedNamingStrategy
toString
-
-
-
-
Constructor Detail
-
AnnotationOrNameFieldNamingStrategy
public AnnotationOrNameFieldNamingStrategy(Iterable<? extends NamingStrategies.NameExtractor<?>> extractors)
-
-
Method Detail
-
translateName
public String translateName(Field f)
- Specified by:
translateName
in interfacecom.google.gson.FieldNamingStrategy
- Overrides:
translateName
in classNamingStrategies.AnnotationFieldNamingStrategy
-
-