Class TypeUtils


  • public class TypeUtils
    extends Object
    Used to determine the Java types for the service model.
    • Constructor Detail

    • Method Detail

      • getMarshallingType

        public static String getMarshallingType​(String simpleType)
      • isSimple

        public static boolean isSimple​(String type)
      • getDataTypeMapping

        public static String getDataTypeMapping​(String type)
      • getJavaDataType

        public String getJavaDataType​(Map<String,​Shape> shapes,
                                      String shapeName)
        Returns the default Java type of the specified shape.
      • getJavaDataType

        public 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).