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


Extends Ext.data.XmlReader - See Ext.data.XmlReader.
XSL reader for toponimi search service of Regione Sardegna
Defined in: EnvelopesAerialPhotos_XLSReader.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
XSL reader for Inviluppi Immagini service of Regione Sardegna
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.EnvelopesAerialPhotos_XLSReader(meta, recordType)
XSL reader for Inviluppi Immagini service of Regione Sardegna
Parameters:
{object} meta
object configuration
{Ext.data.Record} recordType
object definition
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