MAPPE DELLA SARDEGNA
sardegnamappe api  ›  api documentation  ›  classe
Class framework.data.GenericWfs_XLSReader


Extends Ext.data.XmlReader - See Ext.data.XmlReader.
XSL reader for wms/wfs services
Defined in: GenericWfs_XLSReader.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
XSL reader born for Comuni and province service of Regione Sardegna but configurable for every wms/wfs service
Field Summary
Field Attributes Field Name and Description
 
framework_logoff plugin type.
Method Summary
Method Attributes Method Name and Description
 
create array of record extracting data from a xml
 
read(response)
This method is only used by a DataProxy which has retrieved data from a remote server.
 
fill up a object with query result
Class Detail
framework.data.GenericWfs_XLSReader(meta, recordType)
XSL reader born for Comuni and province service of Regione Sardegna but configurable for every wms/wfs service
Parameters:
{object} meta
object configuration
{Ext.data.Record} recordType
object definition
Field Detail
{[Array] fields names that need to be elaborate to be transformed on OpenLayers.Bounds} geometryFields
framework_logoff plugin type.
Method Detail
{array} extractData(root)
create array of record extracting data from a xml
Parameters:
{string} root
xml document
Returns:
{array} record

{Object} read(response)
This method is only used by a DataProxy which has retrieved data from a remote server. Create responseXML if the responseText is a XML format
Parameters:
{Object} response
The XHR object which contains the parsed XML document. The response is expected to contain a method called 'responseXML' that returns an XML document object.
Returns:
{Object} records A data block which is used by an Ext.data.Store as a cache of Ext.data.Records.

{object} readRecords(doc)
fill up a object with query result
Parameters:
{string} doc
xml document
Returns:
{object} array of record plus search informations
© 2013 Regione Autonoma della Sardegna