class XmlSchemaHelper {

    public static String toXsdType(final String type) {
        switch (type) {
        case "boolean":
            return XML_SCHEMA_PREFIX + ":boolean";
        case "number":
            return XML_SCHEMA_PREFIX + ":decimal";
        case "string":
            return XML_SCHEMA_PREFIX + ":string";
        case "integer":
            return XML_SCHEMA_PREFIX + ":integer";
        default:
            throw new IllegalArgumentException("Unexpected type `" + type + "` given to convert to XSD type");
        }
    }

    private  XmlSchemaHelper();

}