Package com.rometools.modules.georss
Class GeoRSSUtils
- java.lang.Object
-
- com.rometools.modules.georss.GeoRSSUtils
-
public class GeoRSSUtils extends Object
static utility methods for georss.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GeoRSSModulegetGeoRSS(SyndEntry entry)This convenience method checks whether there is any geoRss Element and will return it (georss simple or W3GGeo).static GeoRSSModulegetGeoRSS(SyndFeed feed)This convenience method checks whether there is any geoRss Element and will return it (georss simple or W3GGeo).
-
-
-
Method Detail
-
getGeoRSS
public static GeoRSSModule getGeoRSS(SyndEntry entry)
This convenience method checks whether there is any geoRss Element and will return it (georss simple or W3GGeo).- Parameters:
entry- the element in the feed which might have a georss element- Returns:
- a georssmodule or null if none is present
-
getGeoRSS
public static GeoRSSModule getGeoRSS(SyndFeed feed)
This convenience method checks whether there is any geoRss Element and will return it (georss simple or W3GGeo).- Parameters:
feed- the element in the feed which might have a georss element- Returns:
- a georssmodule or null if none is present
-
-