[76] | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
---|
| 2 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
---|
| 3 | |
---|
| 4 | <html xmlns="http://www.w3.org/1999/xhtml"> |
---|
| 5 | <head> |
---|
| 6 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
---|
| 7 | |
---|
| 8 | <title>GeoExt.data.AttributeReader — GeoExt v1.0</title> |
---|
| 9 | <link rel="stylesheet" href="../../../_static/geoext.css" type="text/css" /> |
---|
| 10 | <link rel="stylesheet" href="../../../_static/pygments.css" type="text/css" /> |
---|
| 11 | <script type="text/javascript"> |
---|
| 12 | var DOCUMENTATION_OPTIONS = { |
---|
| 13 | URL_ROOT: '../../../', |
---|
| 14 | VERSION: '1.0', |
---|
| 15 | COLLAPSE_MODINDEX: false, |
---|
| 16 | FILE_SUFFIX: '.html', |
---|
| 17 | HAS_SOURCE: true |
---|
| 18 | }; |
---|
| 19 | </script> |
---|
| 20 | <script type="text/javascript" src="../../../_static/jquery.js"></script> |
---|
| 21 | <script type="text/javascript" src="../../../_static/doctools.js"></script> |
---|
| 22 | <link rel="shortcut icon" href="../../../_static/favicon.ico"/> |
---|
| 23 | <link rel="top" title="GeoExt v1.0" href="../../../index.html" /> |
---|
| 24 | <link rel="up" title="GeoExt.data" href="../data.html" /> |
---|
| 25 | <link rel="next" title="GeoExt.data.AttributeStore" href="AttributeStore.html" /> |
---|
| 26 | <link rel="prev" title="GeoExt.data" href="../data.html" /> |
---|
| 27 | |
---|
| 28 | |
---|
| 29 | |
---|
| 30 | |
---|
| 31 | |
---|
| 32 | |
---|
| 33 | </head> |
---|
| 34 | <body> |
---|
| 35 | <div class="header"> |
---|
| 36 | <div class="wrap"> |
---|
| 37 | <h1 id="logo"><a href="../../../index.html">GeoExt</a></h1> |
---|
| 38 | <ul id="top-nav"> |
---|
| 39 | <li class="first"><a href="../../../docs.html">Documentation</a></li> |
---|
| 40 | <li><a href="../../../examples.html">Examples</a></li> |
---|
| 41 | <li><a href="../../../downloads.html">Download</a></li> |
---|
| 42 | <li><a href="http://trac.geoext.org/">Development</a></li> |
---|
| 43 | </ul> |
---|
| 44 | <div id="searchbox"> |
---|
| 45 | <form class="search" action="../../../search.html" method="get"> |
---|
| 46 | <input id="searchbox-query" type="text" name="q" size="25" value="Search …" tabindex="3" onblur="if(this.value=='') this.value='Search …';" onfocus="if(this.value=='Search …') this.value='';" /> |
---|
| 47 | <input id="searchbox-submit" type="image" value="Search" src="../../../_static/img/search_icon_green.png" /> |
---|
| 48 | <input type="hidden" name="check_keywords" value="yes" /> |
---|
| 49 | <input type="hidden" name="area" value="default" /> |
---|
| 50 | </form> |
---|
| 51 | </div> |
---|
| 52 | </div> |
---|
| 53 | </div> |
---|
| 54 | |
---|
| 55 | <div class="related"> |
---|
| 56 | <h3>Navigation</h3> |
---|
| 57 | <ul> |
---|
| 58 | <li><a href="../../../index.html">GeoExt</a> »</li> |
---|
| 59 | <li><a href="../../index.html" >API Reference</a> »</li> |
---|
| 60 | <li><a href="../data.html" accesskey="U"><tt class="docutils literal docutils literal docutils literal"><span class="pre">GeoExt.data</span></tt></a> »</li> |
---|
| 61 | <li><a href="#"><tt class="docutils literal docutils literal"><span class="pre">GeoExt.data.AttributeReader</span></tt></a></li> |
---|
| 62 | </ul> |
---|
| 63 | </div> |
---|
| 64 | |
---|
| 65 | <div class="sphinxsidebar"> |
---|
| 66 | <div class="sphinxsidebarwrapper"> |
---|
| 67 | <h4>Previous topic</h4> |
---|
| 68 | <p class="topless"><a href="../data.html" |
---|
| 69 | title="previous chapter"><tt class="docutils literal docutils literal"><span class="pre">GeoExt.data</span></tt></a></p> |
---|
| 70 | <h4>Next topic</h4> |
---|
| 71 | <p class="topless"><a href="AttributeStore.html" |
---|
| 72 | title="next chapter"><tt class="docutils literal"><span class="pre">GeoExt.data.AttributeStore</span></tt></a></p> |
---|
| 73 | </div> |
---|
| 74 | </div> |
---|
| 75 | |
---|
| 76 | |
---|
| 77 | <div class="document"> |
---|
| 78 | <div class="documentwrapper"> |
---|
| 79 | <div class="bodywrapper"> |
---|
| 80 | <div class="body"> |
---|
| 81 | |
---|
| 82 | <div class="section" id="geoext-data-attributereader"> |
---|
| 83 | <h1><a title="GeoExt.data.AttributeReader" class="reference internal" href="#GeoExt.data.AttributeReader"><tt class="xref docutils literal"><span class="pre">GeoExt.data.AttributeReader</span></tt></a><a class="headerlink" href="#geoext-data-attributereader" title="Permalink to this headline">¶</a></h1> |
---|
| 84 | <dl class="meta docutils"> |
---|
| 85 | <dt>Extends</dt> |
---|
| 86 | <dd><ul class="first last simple"> |
---|
| 87 | <li><a class="reference external" href="http://dev.sencha.com/deploy/dev/docs/?class=Ext.data.DataReader">Ext.data.DataReader</a></li> |
---|
| 88 | </ul> |
---|
| 89 | </dd> |
---|
| 90 | </dl> |
---|
| 91 | <dl class="class"> |
---|
| 92 | <dt id="GeoExt.data.AttributeReader"> |
---|
| 93 | <em class="property">class </em><tt class="descclassname">GeoExt.data.</tt><tt class="descname">AttributeReader</tt><big>(</big><em>meta</em>, <em>recordType</em><big>)</big><a class="headerlink" href="#GeoExt.data.AttributeReader" title="Permalink to this definition">¶</a></dt> |
---|
| 94 | <dd><table class="docutils field-list" frame="void" rules="none"> |
---|
| 95 | <col class="field-name" /> |
---|
| 96 | <col class="field-body" /> |
---|
| 97 | <tbody valign="top"> |
---|
| 98 | <tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> |
---|
| 99 | <li><em>meta</em> – <tt class="docutils literal"><span class="pre">Object</span></tt> Reader configuration.</li> |
---|
| 100 | <li><em>recordType</em> – <tt class="docutils literal"><span class="pre">Array</span> <span class="pre">or</span> <span class="pre">Ext.data.Record</span></tt> An array of field |
---|
| 101 | configuration objects or a record object.</li> |
---|
| 102 | </ul> |
---|
| 103 | </td> |
---|
| 104 | </tr> |
---|
| 105 | </tbody> |
---|
| 106 | </table> |
---|
| 107 | <p>Create a new attributes reader object.</p> |
---|
| 108 | <p>Valid meta properties:</p> |
---|
| 109 | <ul class="simple"> |
---|
| 110 | <li>format - <tt class="docutils literal"><span class="pre">OpenLayers.Format</span></tt> A parser for transforming the XHR response |
---|
| 111 | into an array of objects representing attributes. Defaults to |
---|
| 112 | an <tt class="docutils literal"><span class="pre">OpenLayers.Format.WFSDescribeFeatureType</span></tt> parser.</li> |
---|
| 113 | <li>ignore - <tt class="docutils literal"><span class="pre">Object</span></tt> Properties of the ignore object should be field names. |
---|
| 114 | Values are either arrays or regular expressions.</li> |
---|
| 115 | <li>feature - <tt class="docutils literal"><span class="pre">OpenLayers.Feature.Vector</span></tt> A vector feature. If provided |
---|
| 116 | records created by the reader will include a field named “value” |
---|
| 117 | referencing the attribute value as set in the feature.</li> |
---|
| 118 | </ul> |
---|
| 119 | </dd></dl> |
---|
| 120 | |
---|
| 121 | </div> |
---|
| 122 | |
---|
| 123 | |
---|
| 124 | </div> |
---|
| 125 | </div> |
---|
| 126 | </div> |
---|
| 127 | <div class="clearer"></div> |
---|
| 128 | </div> |
---|
| 129 | <div class="related"> |
---|
| 130 | <h3>Navigation</h3> |
---|
| 131 | <ul> |
---|
| 132 | <li class="right" style="margin-right: 10px"> |
---|
| 133 | <a href="../../../genindex.html" title="General Index" |
---|
| 134 | accesskey="I">index</a></li> |
---|
| 135 | <li class="right" > |
---|
| 136 | <a href="../../../modindex.html" title="Global Module Index" |
---|
| 137 | accesskey="M">modules</a> |</li> |
---|
| 138 | <li class="right" > |
---|
| 139 | <a href="AttributeStore.html" title="GeoExt.data.AttributeStore" |
---|
| 140 | accesskey="N">next</a> |</li> |
---|
| 141 | <li class="right" > |
---|
| 142 | <a href="../data.html" title="GeoExt.data" |
---|
| 143 | accesskey="P">previous</a> |</li> |
---|
| 144 | <li><a href="../../../index.html">GeoExt</a> »</li> |
---|
| 145 | <li><a href="../../index.html" >API Reference</a> »</li> |
---|
| 146 | <li><a href="../data.html" ><tt class="docutils literal docutils literal docutils literal"><span class="pre">GeoExt.data</span></tt></a> »</li> |
---|
| 147 | <li><a href="#"><tt class="docutils literal docutils literal"><span class="pre">GeoExt.data.AttributeReader</span></tt></a></li> |
---|
| 148 | </ul> |
---|
| 149 | </div> |
---|
| 150 | |
---|
| 151 | <div class="footer"> |
---|
| 152 | © Copyright 2009-2010, GeoExt Community. |
---|
| 153 | </div> |
---|
| 154 | </body> |
---|
| 155 | </html> |
---|