Interface TypeConverter<T>

Type Parameters:
T - the resulting Type

public interface TypeConverter<T>
to convert a MessageType tree
See Also:
  • Type.convert(List, TypeConverter)
  • Method Details

    • convertPrimitiveType

      T convertPrimitiveType(List<GroupType> path, PrimitiveType primitiveType)
      Parameters:
      path - the path to that node
      primitiveType - the type to convert
      Returns:
      the result of conversion
    • convertGroupType

      T convertGroupType(List<GroupType> path, GroupType groupType, List<T> children)
      Parameters:
      path - the path to that node
      groupType - the type to convert
      children - its children already converted
      Returns:
      the result of conversion
    • convertMessageType

      T convertMessageType(MessageType messageType, List<T> children)
      Parameters:
      messageType - the type to convert
      children - its children already converted
      Returns:
      the result of conversion