org.rometools.feed.module.georss
Class GeoRSSUtils
java.lang.Object
org.rometools.feed.module.georss.GeoRSSUtils
public class GeoRSSUtils
- extends Object
static utility methods for georss.
- Version:
- $Id: GeoRSSUtils.java,v 1.4 2007/04/18 09:59:29 marcwick Exp $
- Author:
- Marc Wick
Method Summary |
static GeoRSSModule |
getGeoRSS(com.sun.syndication.feed.synd.SyndEntry entry)
This convenience method checks whether there is any geoRss Element and
will return it (georss simple or W3GGeo). |
static GeoRSSModule |
getGeoRSS(com.sun.syndication.feed.synd.SyndFeed feed)
This convenience method checks whether there is any geoRss Element and
will return it (georss simple or W3GGeo). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeoRSSUtils
public GeoRSSUtils()
getGeoRSS
public static GeoRSSModule getGeoRSS(com.sun.syndication.feed.synd.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(com.sun.syndication.feed.synd.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
Copyright © 2013 ROME Project. All Rights Reserved.