Properties Methods Events Config Options Direct Link

Class CQ.Ext.data.DataReader

Package:CQ.Ext.data
Class:DataReader
Subclasses:JsonReader, XmlReader
Extends:Object
Clientlib:cq.widgets
Abstract base class for reading structured data from a data source and converting it into an object containing CQ.Ext.data.Record objects and metadata for use by an CQ.Ext.data.Store. This class is intended to be extended and should not be created directly. For existing implementations, see CQ.Ext.data.ArrayReader, CQ.Ext.data.JsonReader and CQ.Ext.data.XmlReader.

Config Options

Config Options Defined By
  messageProperty : String
[undefined] Optional name of a property within a server-response that represents a user-feedback message.
DataReader

Public Properties

Property Defined By
  buildExtractors : Object
Abstract method, overridden in DataReader extensions such as CQ.Ext.data.JsonReader and CQ.Ext.data.XmlReader
DataReader
  extractValues : Object
Abstract method overridden in DataReader extensions such as CQ.Ext.data.JsonReader and CQ.Ext.data.XmlReader
DataReader
  getId : Object
Abstract method created in extension's buildExtractors impl.
DataReader
  getMessage : Object
Abstract method created in extension's buildExtractors impl.
DataReader
  getRoot : Object
Abstract method created in extension's buildExtractors impl.
DataReader
  getSuccess : Object
Abstract method created in extension's buildExtractors impl.
DataReader
  getTotal : Object
Abstract method created in extension's buildExtractors impl.
DataReader
  meta : Mixed
This DataReader's configured metadata as passed to the constructor.
DataReader

Public Methods

Method Defined By

Public Events

This class has no public events.