Packagecom.afcomponents.umap.types
Classpublic class FeedType



Public Methods
 MethodDefined by
  
defineFeedType(xml:XML):String
[static] Determines the type of the feed and returns it's type name.
FeedType
  
getFeedTypeFromNSUri(nsuri:String):String
[static] Determines the type of the feed and based on it's NS Uri.
FeedType
Public Constants
 ConstantDefined by
  GEO_RSS : String = "geoRSSFeed"
[static]
FeedType
  GEO_RSS_NSURI : Array
[static]
FeedType
  GPX : String = "GPXFeed"
[static]
FeedType
  GPX_NSURI : Array
[static]
FeedType
  KML : String = "KMLFeed"
[static]
FeedType
  KML_NSURI : Array
[static]
FeedType
  UNDEFINED : String = "undefined"
[static]
FeedType
Method detail
defineFeedType()method
public static function defineFeedType(xml:XML):String

Determines the type of the feed and returns it's type name. Supported types include: KML 2.1/2.2, GeoRSS, GPX.

Parameters
xml:XML — XML object with the feed data.

Returns
String — Feed type or FeedType.UNDEFINED if the feed type cannot be determined.
getFeedTypeFromNSUri()method 
public static function getFeedTypeFromNSUri(nsuri:String):String

Determines the type of the feed and based on it's NS Uri. Supported types include: KML 2.1/2.2, GeoRSS, GPX.

Parameters
nsuri:String — Namespace uri.

Returns
String — Feed type or FeedType.UNDEFINED if the feed type cannot be defined.
Constant detail
GEO_RSSconstant
public static const GEO_RSS:String = "geoRSSFeed"
GEO_RSS_NSURIconstant 
public static const GEO_RSS_NSURI:Array
GPXconstant 
public static const GPX:String = "GPXFeed"
GPX_NSURIconstant 
public static const GPX_NSURI:Array
KMLconstant 
public static const KML:String = "KMLFeed"
KML_NSURIconstant 
public static const KML_NSURI:Array
UNDEFINEDconstant 
public static const UNDEFINED:String = "undefined"