class GeoExt.data.AttributeReader(meta, recordType)¶
Parameters:
meta – Object Reader configuration.
recordType – ArrayorExt.data.Record An array of field
configuration objects or a record object.
Create a new attributes reader object.
Valid meta properties:
format - OpenLayers.Format A parser for transforming the XHR response
into an array of objects representing attributes. Defaults to
an OpenLayers.Format.WFSDescribeFeatureType parser.
ignore - Object Properties of the ignore object should be field names.
Values are either arrays or regular expressions.
feature - OpenLayers.Feature.Vector A vector feature. If provided
records created by the reader will include a field named “value”
referencing the attribute value as set in the feature.