code: private Object typeValue(String value, Class clazz) throws SlickXMLException {
  		if (clazz == String.class) {
  			return value;
  		}
  
  		try {
  			clazz = mapPrimitive(clazz);
  			return clazz.getConstructor(new Class[] {String.class}).newInstance(new Object[] {value});
  		} catch (Exception e) {
  			throw new SlickXMLException("Failed to convert: "+value+" to the expected primitive type: "+clazz, e);
  		}
  	}
docs: Convert a given value to a given type
  
  @param value The value to convert
  @param clazz The class that the returned object must be
  @return The value as the given type
  @throws SlickXMLException Indicates there is no automatic way of converting the value to the type