summaryrefslogtreecommitdiffstats
path: root/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response
diff options
context:
space:
mode:
authorJoey Rizzoli <joey@lineageos.org>2017-06-05 21:04:24 +0200
committerJoey Rizzoli <joey@lineageos.org>2017-06-07 18:13:23 +0200
commitfd3221f8699973f3fba64453a8efe88fb98f3708 (patch)
tree6c559c0f1565d61657d09c6e0ef7df5e1fadc0ad /app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response
parent5cb7ddfbc04fea72912b692d1e519e0d45140e94 (diff)
downloadandroid_packages_apps_YahooWeatherProvider-fd3221f8699973f3fba64453a8efe88fb98f3708.tar.gz
android_packages_apps_YahooWeatherProvider-fd3221f8699973f3fba64453a8efe88fb98f3708.tar.bz2
android_packages_apps_YahooWeatherProvider-fd3221f8699973f3fba64453a8efe88fb98f3708.zip
Refactor cyanogemod -> lineageos
Change-Id: I6aa88e034e6c7642aff6277489bd758e479b2e89 Signed-off-by: Joey Rizzoli <joey@lineageos.org>
Diffstat (limited to 'app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response')
-rw-r--r--app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Admin1.java64
-rw-r--r--app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Admin2.java64
-rw-r--r--app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Admin3.java64
-rw-r--r--app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Astronomy.java44
-rw-r--r--app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Atmosphere.java64
-rw-r--r--app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Channel.java154
-rw-r--r--app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Condition.java64
-rw-r--r--app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Country.java65
-rw-r--r--app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Forecast.java84
-rw-r--r--app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Guid.java35
-rw-r--r--app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Image.java74
-rw-r--r--app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Item.java117
-rw-r--r--app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Locality1.java54
-rw-r--r--app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Location.java54
-rw-r--r--app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Place.java89
-rw-r--r--app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Postal.java54
-rw-r--r--app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Query.java64
-rw-r--r--app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Results.java46
-rw-r--r--app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Units.java65
-rw-r--r--app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Wind.java54
-rw-r--r--app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/YQLResponse.java34
21 files changed, 0 insertions, 1407 deletions
diff --git a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Admin1.java b/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Admin1.java
deleted file mode 100644
index 67ba44d..0000000
--- a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Admin1.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/**
- * Copyright (C) 2016 The CyanogenMod Project
- * <p/>
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * <p/>
- * http://www.apache.org/licenses/LICENSE-2.0
- * <p/>
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.cyanogenmod.yahooweatherprovider.yahoo.response;
-
-public class Admin1 {
- private String content;
-
- private String woeid;
-
- private String code;
-
- private String type;
-
- public String getContent() {
- return content;
- }
-
- public void setContent(String content) {
- this.content = content;
- }
-
- public String getWoeid() {
- return woeid;
- }
-
- public void setWoeid(String woeid) {
- this.woeid = woeid;
- }
-
- public String getCode() {
- return code;
- }
-
- public void setCode(String code) {
- this.code = code;
- }
-
- public String getType() {
- return type;
- }
-
- public void setType(String type) {
- this.type = type;
- }
-
- @Override
- public String toString() {
- return "[content = " + content + ", woeid = " + woeid + ", code = " + code + ", type = " + type + "]";
- }
-} \ No newline at end of file
diff --git a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Admin2.java b/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Admin2.java
deleted file mode 100644
index 436073a..0000000
--- a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Admin2.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/**
- * Copyright (C) 2016 The CyanogenMod Project
- * <p/>
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * <p/>
- * http://www.apache.org/licenses/LICENSE-2.0
- * <p/>
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.cyanogenmod.yahooweatherprovider.yahoo.response;
-
-public class Admin2 {
- private String content;
-
- private String woeid;
-
- private String code;
-
- private String type;
-
- public String getContent() {
- return content;
- }
-
- public void setContent(String content) {
- this.content = content;
- }
-
- public String getWoeid() {
- return woeid;
- }
-
- public void setWoeid(String woeid) {
- this.woeid = woeid;
- }
-
- public String getCode() {
- return code;
- }
-
- public void setCode(String code) {
- this.code = code;
- }
-
- public String getType() {
- return type;
- }
-
- public void setType(String type) {
- this.type = type;
- }
-
- @Override
- public String toString() {
- return "[content = " + content + ", woeid = " + woeid + ", code = " + code + ", type = " + type + "]";
- }
-}
diff --git a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Admin3.java b/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Admin3.java
deleted file mode 100644
index 8bcc005..0000000
--- a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Admin3.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/**
- * Copyright (C) 2016 The CyanogenMod Project
- * <p/>
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * <p/>
- * http://www.apache.org/licenses/LICENSE-2.0
- * <p/>
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.cyanogenmod.yahooweatherprovider.yahoo.response;
-
-public class Admin3 {
- private String content;
-
- private String woeid;
-
- private String code;
-
- private String type;
-
- public String getContent() {
- return content;
- }
-
- public void setContent(String content) {
- this.content = content;
- }
-
- public String getWoeid() {
- return woeid;
- }
-
- public void setWoeid(String woeid) {
- this.woeid = woeid;
- }
-
- public String getCode() {
- return code;
- }
-
- public void setCode(String code) {
- this.code = code;
- }
-
- public String getType() {
- return type;
- }
-
- public void setType(String type) {
- this.type = type;
- }
-
- @Override
- public String toString() {
- return "[content = " + content + ", woeid = " + woeid + ", code = " + code + ", type = " + type + "]";
- }
-}
diff --git a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Astronomy.java b/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Astronomy.java
deleted file mode 100644
index be9304f..0000000
--- a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Astronomy.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/**
- * Copyright (C) 2016 The CyanogenMod Project
- * <p/>
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * <p/>
- * http://www.apache.org/licenses/LICENSE-2.0
- * <p/>
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.cyanogenmod.yahooweatherprovider.yahoo.response;
-
-public class Astronomy {
- private String sunset;
-
- private String sunrise;
-
- public String getSunset() {
- return sunset;
- }
-
- public void setSunset(String sunset) {
- this.sunset = sunset;
- }
-
- public String getSunrise() {
- return sunrise;
- }
-
- public void setSunrise(String sunrise) {
- this.sunrise = sunrise;
- }
-
- @Override
- public String toString() {
- return "[sunset = " + sunset + ", sunrise = " + sunrise + "]";
- }
-} \ No newline at end of file
diff --git a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Atmosphere.java b/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Atmosphere.java
deleted file mode 100644
index 4fea93d..0000000
--- a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Atmosphere.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/**
- * Copyright (C) 2016 The CyanogenMod Project
- * <p/>
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * <p/>
- * http://www.apache.org/licenses/LICENSE-2.0
- * <p/>
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.cyanogenmod.yahooweatherprovider.yahoo.response;
-
-public class Atmosphere {
- private String rising;
-
- private String humidity;
-
- private String pressure;
-
- private String visibility;
-
- public String getRising() {
- return rising;
- }
-
- public void setRising(String rising) {
- this.rising = rising;
- }
-
- public String getHumidity() {
- return humidity;
- }
-
- public void setHumidity(String humidity) {
- this.humidity = humidity;
- }
-
- public String getPressure() {
- return pressure;
- }
-
- public void setPressure(String pressure) {
- this.pressure = pressure;
- }
-
- public String getVisibility() {
- return visibility;
- }
-
- public void setVisibility(String visibility) {
- this.visibility = visibility;
- }
-
- @Override
- public String toString() {
- return "[rising = " + rising + ", humidity = " + humidity + ", pressure = " + pressure + ", visibility = " + visibility + "]";
- }
-} \ No newline at end of file
diff --git a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Channel.java b/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Channel.java
deleted file mode 100644
index 35f1320..0000000
--- a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Channel.java
+++ /dev/null
@@ -1,154 +0,0 @@
-/**
- * Copyright (C) 2016 The CyanogenMod Project
- * <p/>
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * <p/>
- * http://www.apache.org/licenses/LICENSE-2.0
- * <p/>
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.cyanogenmod.yahooweatherprovider.yahoo.response;
-
-public class Channel {
- private Wind wind;
-
- private Location location;
-
- private String link;
-
- private Atmosphere atmosphere;
-
- private Image image;
-
- private String ttl;
-
- private Astronomy astronomy;
-
- private Units units;
-
- private String title;
-
- private String description;
-
- private Item item;
-
- private String lastBuildDate;
-
- private String language;
-
- public Wind getWind() {
- return wind;
- }
-
- public void setWind(Wind wind) {
- this.wind = wind;
- }
-
- public Location getLocation() {
- return location;
- }
-
- public void setLocation(Location location) {
- this.location = location;
- }
-
- public String getLink() {
- return link;
- }
-
- public void setLink(String link) {
- this.link = link;
- }
-
- public Atmosphere getAtmosphere() {
- return atmosphere;
- }
-
- public void setAtmosphere(Atmosphere atmosphere) {
- this.atmosphere = atmosphere;
- }
-
- public Image getImage() {
- return image;
- }
-
- public void setImage(Image image) {
- this.image = image;
- }
-
- public String getTtl() {
- return ttl;
- }
-
- public void setTtl(String ttl) {
- this.ttl = ttl;
- }
-
- public Astronomy getAstronomy() {
- return astronomy;
- }
-
- public void setAstronomy(Astronomy astronomy) {
- this.astronomy = astronomy;
- }
-
- public Units getUnits() {
- return units;
- }
-
- public void setUnits(Units units) {
- this.units = units;
- }
-
- public String getTitle() {
- return title;
- }
-
- public void setTitle(String title) {
- this.title = title;
- }
-
- public String getDescription() {
- return description;
- }
-
- public void setDescription(String description) {
- this.description = description;
- }
-
- public Item getItem() {
- return item;
- }
-
- public void setItem(Item item) {
- this.item = item;
- }
-
- public String getLastBuildDate() {
- return lastBuildDate;
- }
-
- public void setLastBuildDate(String lastBuildDate) {
- this.lastBuildDate = lastBuildDate;
- }
-
- public String getLanguage() {
- return language;
- }
-
- public void setLanguage(String language) {
- this.language = language;
- }
-
- @Override
- public String toString() {
- return "[wind = " + wind + ", location = " + location + ", link = " + link + ", atmosphere = " + atmosphere + ", image = " + image + ", ttl = " + ttl + ", astronomy = " + astronomy + ", units = " + units + ", title = " + title + ", description = " + description + ", item = " + item + ", lastBuildDate = " + lastBuildDate + ", language = " + language + "]";
- }
-} \ No newline at end of file
diff --git a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Condition.java b/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Condition.java
deleted file mode 100644
index 304e665..0000000
--- a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Condition.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/**
- * Copyright (C) 2016 The CyanogenMod Project
- * <p/>
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * <p/>
- * http://www.apache.org/licenses/LICENSE-2.0
- * <p/>
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.cyanogenmod.yahooweatherprovider.yahoo.response;
-
-public class Condition {
- private String text;
-
- private String temp;
-
- private String code;
-
- private String date;
-
- public String getText() {
- return text;
- }
-
- public void setText(String text) {
- this.text = text;
- }
-
- public String getTemp() {
- return temp;
- }
-
- public void setTemp(String temp) {
- this.temp = temp;
- }
-
- public String getCode() {
- return code;
- }
-
- public void setCode(String code) {
- this.code = code;
- }
-
- public String getDate() {
- return date;
- }
-
- public void setDate(String date) {
- this.date = date;
- }
-
- @Override
- public String toString() {
- return "[text = " + text + ", temp = " + temp + ", code = " + code + ", date = " + date + "]";
- }
-}
diff --git a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Country.java b/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Country.java
deleted file mode 100644
index 4c1daaf..0000000
--- a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Country.java
+++ /dev/null
@@ -1,65 +0,0 @@
-/**
- * Copyright (C) 2016 The CyanogenMod Project
- * <p/>
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * <p/>
- * http://www.apache.org/licenses/LICENSE-2.0
- * <p/>
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.cyanogenmod.yahooweatherprovider.yahoo.response;
-
-public class Country {
- private String content;
-
- private String woeid;
-
- private String code;
-
- private String type;
-
- public String getContent() {
- return content;
- }
-
- public void setContent(String content) {
- this.content = content;
- }
-
- public String getWoeid() {
- return woeid;
- }
-
- public void setWoeid(String woeid) {
- this.woeid = woeid;
- }
-
- public String getCode() {
- return code;
- }
-
- public void setCode(String code) {
- this.code = code;
- }
-
- public String getType() {
- return type;
- }
-
- public void setType(String type) {
- this.type = type;
- }
-
- @Override
- public String toString() {
- return "[content = " + content + ", woeid = " + woeid + ", code = " + code + ", type = " + type + "]";
- }
-}
-
diff --git a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Forecast.java b/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Forecast.java
deleted file mode 100644
index eb9b7d9..0000000
--- a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Forecast.java
+++ /dev/null
@@ -1,84 +0,0 @@
-/**
- * Copyright (C) 2016 The CyanogenMod Project
- * <p/>
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * <p/>
- * http://www.apache.org/licenses/LICENSE-2.0
- * <p/>
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.cyanogenmod.yahooweatherprovider.yahoo.response;
-
-public class Forecast {
- private String text;
-
- private String high;
-
- private String day;
-
- private String code;
-
- private String low;
-
- private String date;
-
- public String getText() {
- return text;
- }
-
- public void setText(String text) {
- this.text = text;
- }
-
- public String getHigh() {
- return high;
- }
-
- public void setHigh(String high) {
- this.high = high;
- }
-
- public String getDay() {
- return day;
- }
-
- public void setDay(String day) {
- this.day = day;
- }
-
- public String getCode() {
- return code;
- }
-
- public void setCode(String code) {
- this.code = code;
- }
-
- public String getLow() {
- return low;
- }
-
- public void setLow(String low) {
- this.low = low;
- }
-
- public String getDate() {
- return date;
- }
-
- public void setDate(String date) {
- this.date = date;
- }
-
- @Override
- public String toString() {
- return "[text = " + text + ", high = " + high + ", day = " + day + ", code = " + code + ", low = " + low + ", date = " + date + "]";
- }
-} \ No newline at end of file
diff --git a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Guid.java b/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Guid.java
deleted file mode 100644
index aea9589..0000000
--- a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Guid.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
- * Copyright (C) 2016 The CyanogenMod Project
- * <p/>
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * <p/>
- * http://www.apache.org/licenses/LICENSE-2.0
- * <p/>
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.cyanogenmod.yahooweatherprovider.yahoo.response;
-
-public class Guid {
- private String isPermaLink;
-
- public String getIsPermaLink() {
- return isPermaLink;
- }
-
- public void setIsPermaLink(String isPermaLink) {
- this.isPermaLink = isPermaLink;
- }
-
- @Override
- public String toString() {
- return "[isPermaLink = " + isPermaLink + "]";
- }
-}
-
diff --git a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Image.java b/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Image.java
deleted file mode 100644
index 6357098..0000000
--- a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Image.java
+++ /dev/null
@@ -1,74 +0,0 @@
-/**
- * Copyright (C) 2016 The CyanogenMod Project
- * <p/>
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * <p/>
- * http://www.apache.org/licenses/LICENSE-2.0
- * <p/>
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.cyanogenmod.yahooweatherprovider.yahoo.response;
-
-public class Image {
- private String title;
-
- private String height;
-
- private String link;
-
- private String width;
-
- private String url;
-
- public String getTitle() {
- return title;
- }
-
- public void setTitle(String title) {
- this.title = title;
- }
-
- public String getHeight() {
- return height;
- }
-
- public void setHeight(String height) {
- this.height = height;
- }
-
- public String getLink() {
- return link;
- }
-
- public void setLink(String link) {
- this.link = link;
- }
-
- public String getWidth() {
- return width;
- }
-
- public void setWidth(String width) {
- this.width = width;
- }
-
- public String getUrl() {
- return url;
- }
-
- public void setUrl(String url) {
- this.url = url;
- }
-
- @Override
- public String toString() {
- return "[title = " + title + ", height = " + height + ", link = " + link + ", width = " + width + ", url = " + url + "]";
- }
-}
diff --git a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Item.java b/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Item.java
deleted file mode 100644
index 528e4b1..0000000
--- a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Item.java
+++ /dev/null
@@ -1,117 +0,0 @@
-/**
- * Copyright (C) 2016 The CyanogenMod Project
- * <p/>
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * <p/>
- * http://www.apache.org/licenses/LICENSE-2.0
- * <p/>
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.cyanogenmod.yahooweatherprovider.yahoo.response;
-
-import java.util.Arrays;
-
-public class Item {
- private Guid guid;
-
- private String pubDate;
-
- private String title;
-
- private Forecast[] forecast;
-
- private Condition condition;
-
- private String description;
-
- private String link;
-
- private String longz;
-
- private String lat;
-
- public Guid getGuid() {
- return guid;
- }
-
- public void setGuid(Guid guid) {
- this.guid = guid;
- }
-
- public String getPubDate() {
- return pubDate;
- }
-
- public void setPubDate(String pubDate) {
- this.pubDate = pubDate;
- }
-
- public String getTitle() {
- return title;
- }
-
- public void setTitle(String title) {
- this.title = title;
- }
-
- public Forecast[] getForecast() {
- return forecast;
- }
-
- public void setForecast(Forecast[] forecast) {
- this.forecast = forecast;
- }
-
- public Condition getCondition() {
- return condition;
- }
-
- public void setCondition(Condition condition) {
- this.condition = condition;
- }
-
- public String getDescription() {
- return description;
- }
-
- public void setDescription(String description) {
- this.description = description;
- }
-
- public String getLink() {
- return link;
- }
-
- public void setLink(String link) {
- this.link = link;
- }
-
- public String getLong() {
- return longz;
- }
-
- public void setLong(String longz) {
- this.longz = longz;
- }
-
- public String getLat() {
- return lat;
- }
-
- public void setLat(String lat) {
- this.lat = lat;
- }
-
- @Override
- public String toString() {
- return "[guid = " + guid + ", pubDate = " + pubDate + ", title = " + title + ", forecast = " + Arrays.asList(forecast) + ", condition = " + condition + ", description = " + description + ", link = " + link + ", long = " + longz
- + ", lat = " + lat + "]";
- }
-}
diff --git a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Locality1.java b/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Locality1.java
deleted file mode 100644
index 901090b..0000000
--- a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Locality1.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- * Copyright (C) 2016 The CyanogenMod Project
- * <p/>
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * <p/>
- * http://www.apache.org/licenses/LICENSE-2.0
- * <p/>
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.cyanogenmod.yahooweatherprovider.yahoo.response;
-
-public class Locality1 {
- private String content;
-
- private String woeid;
-
- private String type;
-
- public String getContent() {
- return content;
- }
-
- public void setContent(String content) {
- this.content = content;
- }
-
- public String getWoeid() {
- return woeid;
- }
-
- public void setWoeid(String woeid) {
- this.woeid = woeid;
- }
-
- public String getType() {
- return type;
- }
-
- public void setType(String type) {
- this.type = type;
- }
-
- @Override
- public String toString() {
- return "[content = " + content + ", woeid = " + woeid + ", type = " + type + "]";
- }
-} \ No newline at end of file
diff --git a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Location.java b/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Location.java
deleted file mode 100644
index fa3ba9d..0000000
--- a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Location.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- * Copyright (C) 2016 The CyanogenMod Project
- * <p/>
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * <p/>
- * http://www.apache.org/licenses/LICENSE-2.0
- * <p/>
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.cyanogenmod.yahooweatherprovider.yahoo.response;
-
-public class Location {
- private String region;
-
- private String country;
-
- private String city;
-
- public String getRegion() {
- return region;
- }
-
- public void setRegion(String region) {
- this.region = region;
- }
-
- public String getCountry() {
- return country;
- }
-
- public void setCountry(String country) {
- this.country = country;
- }
-
- public String getCity() {
- return city;
- }
-
- public void setCity(String city) {
- this.city = city;
- }
-
- @Override
- public String toString() {
- return "[region = " + region + ", country = " + country + ", city = " + city + "]";
- }
-}
diff --git a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Place.java b/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Place.java
deleted file mode 100644
index 03c9011..0000000
--- a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Place.java
+++ /dev/null
@@ -1,89 +0,0 @@
-/**
- * Copyright (C) 2016 The CyanogenMod Project
- * <p/>
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * <p/>
- * http://www.apache.org/licenses/LICENSE-2.0
- * <p/>
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.cyanogenmod.yahooweatherprovider.yahoo.response;
-
-public class Place {
- private String woeid;
-
- private Country country;
-
- private Admin1 admin1;
- private Admin2 admin2;
- private Admin3 admin3;
-
- private Postal postal;
-
- private Locality1 locality1;
-
- public String getWoeid() {
- return woeid;
- }
-
- public void setWoeid(String woeid) {
- this.woeid = woeid;
- }
-
- public Country getCountry() {
- return country;
- }
-
- public void setCountry(Country country) {
- this.country = country;
- }
-
- public Admin1 getAdmin1() {
- return admin1;
- }
-
- public void setAdmin1(Admin1 admin1) {
- this.admin1 = admin1;
- }
-
- public Admin2 getAdmin2() {
- return admin2;
- }
-
- public void setAdmin2(Admin2 admin2) {
- this.admin2 = admin2;
- }
-
- public Admin3 getAdmin3() {
- return admin3;
- }
-
- public void setAdmin3(Admin3 admin3) {
- this.admin3 = admin3;
- }
-
- public Postal getPostal() {
- return postal;
- }
-
- public void setPostal(Postal postal) {
- this.postal = postal;
- }
-
- public Locality1 getLocality1() {
- return locality1;
- }
-
- @Override
- public String toString() {
- return "[woeid = " + woeid + ", country = " + country + "]";
- }
-}
-
diff --git a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Postal.java b/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Postal.java
deleted file mode 100644
index d3e1db1..0000000
--- a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Postal.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- * Copyright (C) 2016 The CyanogenMod Project
- * <p/>
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * <p/>
- * http://www.apache.org/licenses/LICENSE-2.0
- * <p/>
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.cyanogenmod.yahooweatherprovider.yahoo.response;
-
-public class Postal {
- private String content;
-
- private String woeid;
-
- private String type;
-
- public String getContent() {
- return content;
- }
-
- public void setContent(String content) {
- this.content = content;
- }
-
- public String getWoeid() {
- return woeid;
- }
-
- public void setWoeid(String woeid) {
- this.woeid = woeid;
- }
-
- public String getType() {
- return type;
- }
-
- public void setType(String type) {
- this.type = type;
- }
-
- @Override
- public String toString() {
- return "ClassPojo [content = " + content + ", woeid = " + woeid + ", type = " + type + "]";
- }
-} \ No newline at end of file
diff --git a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Query.java b/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Query.java
deleted file mode 100644
index 2bc7816..0000000
--- a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Query.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/**
- * Copyright (C) 2016 The CyanogenMod Project
- * <p/>
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * <p/>
- * http://www.apache.org/licenses/LICENSE-2.0
- * <p/>
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.cyanogenmod.yahooweatherprovider.yahoo.response;
-
-public class Query {
- private Results results;
-
- private String count;
-
- private String created;
-
- private String lang;
-
- public Results getResults() {
- return results;
- }
-
- public void setResults(Results results) {
- this.results = results;
- }
-
- public String getCount() {
- return count;
- }
-
- public void setCount(String count) {
- this.count = count;
- }
-
- public String getCreated() {
- return created;
- }
-
- public void setCreated(String created) {
- this.created = created;
- }
-
- public String getLang() {
- return lang;
- }
-
- public void setLang(String lang) {
- this.lang = lang;
- }
-
- @Override
- public String toString() {
- return "[results = " + results + ", count = " + count + ", created = " + created + ", lang = " + lang + "]";
- }
-}
diff --git a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Results.java b/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Results.java
deleted file mode 100644
index 8b6a45d..0000000
--- a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Results.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
- * Copyright (C) 2016 The CyanogenMod Project
- * <p/>
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * <p/>
- * http://www.apache.org/licenses/LICENSE-2.0
- * <p/>
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.cyanogenmod.yahooweatherprovider.yahoo.response;
-
-import java.util.Arrays;
-
-public class Results {
- private Channel channel;
-
- private Place[] place;
-
- public Channel getChannel() {
- return channel;
- }
-
- public void setChannel(Channel channel) {
- this.channel = channel;
- }
-
- public Place[] getPlace() {
- return place;
- }
-
- public void setPlace(Place[] place) {
- this.place = place;
- }
-
- @Override
- public String toString() {
- return "[channel = " + channel + ", place + " + Arrays.toString(place) + "]";
- }
-}
diff --git a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Units.java b/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Units.java
deleted file mode 100644
index 00923df..0000000
--- a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Units.java
+++ /dev/null
@@ -1,65 +0,0 @@
-/**
- * Copyright (C) 2016 The CyanogenMod Project
- * <p/>
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * <p/>
- * http://www.apache.org/licenses/LICENSE-2.0
- * <p/>
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.cyanogenmod.yahooweatherprovider.yahoo.response;
-
-public class Units {
- private String distance;
-
- private String pressure;
-
- private String speed;
-
- private String temperature;
-
- public String getDistance() {
- return distance;
- }
-
- public void setDistance(String distance) {
- this.distance = distance;
- }
-
- public String getPressure() {
- return pressure;
- }
-
- public void setPressure(String pressure) {
- this.pressure = pressure;
- }
-
- public String getSpeed() {
- return speed;
- }
-
- public void setSpeed(String speed) {
- this.speed = speed;
- }
-
- public String getTemperature() {
- return temperature;
- }
-
- public void setTemperature(String temperature) {
- this.temperature = temperature;
- }
-
- @Override
- public String toString() {
- return "[distance = " + distance + ", pressure = " + pressure + ", speed = " + speed + ", temperature = " + temperature + "]";
- }
-}
-
diff --git a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Wind.java b/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Wind.java
deleted file mode 100644
index 70fa91e..0000000
--- a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Wind.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- * Copyright (C) 2016 The CyanogenMod Project
- * <p/>
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * <p/>
- * http://www.apache.org/licenses/LICENSE-2.0
- * <p/>
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.cyanogenmod.yahooweatherprovider.yahoo.response;
-
-public class Wind {
- private String speed;
-
- private String direction;
-
- private String chill;
-
- public String getSpeed() {
- return speed;
- }
-
- public void setSpeed(String speed) {
- this.speed = speed;
- }
-
- public String getDirection() {
- return direction;
- }
-
- public void setDirection(String direction) {
- this.direction = direction;
- }
-
- public String getChill() {
- return chill;
- }
-
- public void setChill(String chill) {
- this.chill = chill;
- }
-
- @Override
- public String toString() {
- return "[speed = " + speed + ", direction = " + direction + ", chill = " + chill + "]";
- }
-}
-
diff --git a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/YQLResponse.java b/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/YQLResponse.java
deleted file mode 100644
index bf47436..0000000
--- a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/YQLResponse.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/**
- * Copyright (C) 2016 The CyanogenMod Project
- * <p/>
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * <p/>
- * http://www.apache.org/licenses/LICENSE-2.0
- * <p/>
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.cyanogenmod.yahooweatherprovider.yahoo.response;
-
-public class YQLResponse {
- private Query query;
-
- public Query getQuery() {
- return query;
- }
-
- public void setQuery(Query query) {
- this.query = query;
- }
-
- @Override
- public String toString() {
- return "[query = " + query + "]";
- }
-}