API Docs for: 7.2
Show:

MQA.GeoRSSDeserializer Class

Module: MQA

This class is created and passed in as a parameter when using

with GeoRSS feeds. Deserializer for GeoRSS feed data

Constructor

MQA.GeoRSSDeserializer

(
  • options
)

Parameters:

  • options Object
    • UNIMPLEMENTED

Properties

data

XmlDocument

Data to be deserialized

feedVersion

String

feed version

geo

String

geo namespace

Default: "http://www.w3.org/2003/01/geo/wgs84_pos#"

georss

String

georss namespace

Default: "http://www.georss.org/georss"

gml

String

gml namespace

Default: "http://www.opengis.net/gml"

isIE

Boolean

Inherited from MQA.BaseDeserializer

Is this an IE Browser, many of the deserializers need to know so they can use native browser code

Methods

_deserialize

(
  • collection
)

Inherited from MQA.BaseDeserializer

All the heavy lifting should be done here, this needs to be overridden by real implementations

Parameters:

_trim

()

Inherited from MQA.BaseDeserializer

utility to trim stuff

createLine

(
  • node
)
MQA.LineOverlay private

Creates a line from the specified entry

Parameters:

  • node XMLNode

Returns <MQA.LineOverlay>

createPoi

(
  • node
)
MQA.LineOverlay private

Creates a poi from the specified entry

Parameters:

  • node XMLNode

Returns <MQA.LineOverlay>

createPolygon

(
  • node
)
MQA.PolygonOverlay private

Creates a polygon from the specified entry

Parameters:

  • node XMLNode

Returns <MQA.PolygonOverlay>

createRectangle

(
  • node
)
RectangleOverlay private

Creates a rectangle from the specified entry

Parameters:

  • node XMLNode

Returns <RectangleOverlay>

deserialize

(
  • data
  • collection
)
MQA.ShapeCollection

deserializes

Parameters:

getElements

(
  • searchNode
  • elementName
)
Array

Returns the namespaced node property based on browser.

Parameters:

  • searchNode XMLNode
  • elementName String

Returns <Array>

matching nodes

getFeedVersion

() String private

Returns the version of GeoRSS of the feed as a string value.

Returns <String>

version