public class WeatherModel
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.Comparator<WeatherField> |
FIELD_NAME_COMPARATOR |
static java.util.Comparator<WeatherField> |
FIELD_ORDER_COMPARATOR |
Constructor and Description |
---|
WeatherModel() |
Modifier and Type | Method and Description |
---|---|
com.ibm.json.java.JSONObject |
createCurrentModel(com.ibm.json.java.JSONObject weatherData,
WeatherConfig config,
UserInfo userInfo,
WeatherConfig.UOM_LOCALE uomLocale) |
com.ibm.json.java.JSONObject |
createDailyModel(com.ibm.json.java.JSONObject weatherData,
WeatherConfig config,
UserInfo userInfo,
WeatherConfig.UOM_LOCALE uomLocale) |
com.ibm.json.java.JSONObject |
createDailyModel(com.ibm.json.java.JSONObject weatherData,
WeatherConfig config,
UserInfo userInfo,
WeatherConfig.UOM_LOCALE uomLocale,
WeatherAddress addr) |
com.ibm.json.java.JSONObject |
createHourlyModel(com.ibm.json.java.JSONObject weatherData,
WeatherConfig config,
UserInfo userInfo,
WeatherConfig.UOM_LOCALE uomLocale) |
public static final java.util.Comparator<WeatherField> FIELD_NAME_COMPARATOR
public static final java.util.Comparator<WeatherField> FIELD_ORDER_COMPARATOR
public com.ibm.json.java.JSONObject createCurrentModel(com.ibm.json.java.JSONObject weatherData, WeatherConfig config, UserInfo userInfo, WeatherConfig.UOM_LOCALE uomLocale)
weatherData
- config
- userInfo
- uomLocale
- public com.ibm.json.java.JSONObject createDailyModel(com.ibm.json.java.JSONObject weatherData, WeatherConfig config, UserInfo userInfo, WeatherConfig.UOM_LOCALE uomLocale) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public com.ibm.json.java.JSONObject createDailyModel(com.ibm.json.java.JSONObject weatherData, WeatherConfig config, UserInfo userInfo, WeatherConfig.UOM_LOCALE uomLocale, WeatherAddress addr) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public com.ibm.json.java.JSONObject createHourlyModel(com.ibm.json.java.JSONObject weatherData, WeatherConfig config, UserInfo userInfo, WeatherConfig.UOM_LOCALE uomLocale)