Legato.Format.ExtendedWMC.Parser

Parser for ExtendedWMC XML documents

Inherits from

  • <OpenLayers.Format.XML>
Summary
Legato.Format.ExtendedWMC.ParserParser for ExtendedWMC XML documents
Properties and Functions
defaultPrefix{String} Default prefix
rootPrefix{String} Prefix on the root node that maps to the context namespace URI.
defaultStyleName{String} Style name used if layer has no style param.
defaultStyleTitle{String} Default style title.
initialize
beanFactory{Legato.Beans.XMLBeanFactory} bean factory which will be used to parse extensions.
readRead capabilities data from a string, and returns a Legato.Format.ExtendedWMC.Model

Properties and Functions

defaultPrefix

{String} Default prefix

rootPrefix

{String} Prefix on the root node that maps to the context namespace URI.

defaultStyleName

{String} Style name used if layer has no style param.  Default is “”.

defaultStyleTitle

{String} Default style title.  Default is “Default”.

initialize

initialize: function(options)

Parameters

options{Object} An optional object whose properties will be set on this instance.

beanFactory

{Legato.Beans.XMLBeanFactory} bean factory which will be used to parse extensions.

read

read: function(data)

Read capabilities data from a string, and returns a Legato.Format.ExtendedWMC.Model

Parameters

data{String} or {DOMElement} data to read/parse.

Returns

{Legato.Format.ExtendedWMC.Model} the parsed model

initialize: function(options)
read: function(data)
Read capabilities data from a string, and returns a Legato.Format.ExtendedWMC.Model
Models an OGC ViewContext.