public class TypeUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
LIST_AUTO_CONSTRUCT_IMPL |
static String |
LIST_DEFAULT_IMPL |
static String |
LIST_INTERFACE |
static String |
MAP_AUTO_CONSTRUCT_IMPL |
static String |
MAP_DEFAULT_IMPL |
static String |
MAP_INTERFACE |
| Constructor and Description |
|---|
TypeUtils(NamingStrategy namingStrategy) |
| Modifier and Type | Method and Description |
|---|---|
static String |
getDataTypeMapping(String type) |
String |
getJavaDataType(Map<String,Shape> shapes,
String shapeName)
Returns the default Java type of the specified shape.
|
String |
getJavaDataType(Map<String,Shape> shapes,
String shapeName,
CustomizationConfig customConfig)
Returns the Java type of the specified shape with potential customization (such as
auto-construct list or map).
|
static String |
getMarshallingType(String simpleType) |
static boolean |
isReserved(String shapeName) |
static boolean |
isSimple(String type) |
public static final String LIST_INTERFACE
public static final String LIST_DEFAULT_IMPL
public static final String LIST_AUTO_CONSTRUCT_IMPL
public static final String MAP_INTERFACE
public static final String MAP_DEFAULT_IMPL
public static final String MAP_AUTO_CONSTRUCT_IMPL
public TypeUtils(NamingStrategy namingStrategy)
public static boolean isSimple(String type)
public String getJavaDataType(Map<String,Shape> shapes, String shapeName)
public String getJavaDataType(Map<String,Shape> shapes, String shapeName, CustomizationConfig customConfig)
public static boolean isReserved(String shapeName)
Copyright © 2023. All rights reserved.