Package org.rometools.feed.module.yahooweather.types

Examples of org.rometools.feed.module.yahooweather.types.Condition

@version $Id: Condition.java,v 1.2 2008/01/22 14:50:05 kebernet Exp $ @author Robert "kebernet" Cooper

        Element condition = element.getChild("condition", WeatherModuleParser.NS);

        if(condition != null) {
            try {
                Condition c = new Condition(condition.getAttributeValue("text"),
                        ConditionCode.fromCode(Integer.parseInt(
                                condition.getAttributeValue("code"))),
                        Integer.parseInt(condition.getAttributeValue("temp")),
                        LONG_DATE.parse(condition.getAttributeValue("date")
                                                 .replaceAll("pm", "PM")
View Full Code Here

TOP

Related Classes of org.rometools.feed.module.yahooweather.types.Condition

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.