sync
[roojs1] / docs / symbols / Roo.data.XmlReader.json
index c263b32..8bfe9c7 100644 (file)
@@ -8,7 +8,7 @@
   "tree_parent" : [],
   "desc" : "Data reader class to create an Array of {@link Roo.data.Record} objects from an XML document\nbased on mappings in a provided Roo.data.Record constructor.<br><br>\n<p>\n<em>Note that in order for the browser to parse a returned XML document, the Content-Type\nheader in the HTTP response must be set to \"text/xml\".</em>\n<p>\nExample code:\n<pre><code>\nvar RecordDef = Roo.data.Record.create([\n   {name: 'name', mapping: 'name'},     // \"mapping\" property not needed if it's the same as \"name\"\n   {name: 'occupation'}                 // This field will use \"occupation\" as the mapping.\n]);\nvar myReader = new Roo.data.XmlReader({\n   totalRecords: \"results\", // The element which contains the total dataset size (optional)\n   record: \"row\",           // The repeated element which contains row information\n   id: \"id\"                 // The element within the row that provides an ID for the record (optional)\n}, RecordDef);\n</code></pre>\n<p>\nThis would consume an XML file like this:\n<pre><code>\n&lt;?xml?>\n&lt;dataset>\n &lt;results>2&lt;/results>\n &lt;row>\n   &lt;id>1&lt;/id>\n   &lt;name>Bill&lt;/name>\n   &lt;occupation>Gardener&lt;/occupation>\n &lt;/row>\n &lt;row>\n   &lt;id>2&lt;/id>\n   &lt;name>Ben&lt;/name>\n   &lt;occupation>Horticulturalist&lt;/occupation>\n &lt;/row>\n&lt;/dataset>\n</code></pre>",
   "isSingleton" : false,
-  "isStatic" : false,
+  "isStatic" : true,
   "isBuiltin" : false,
   "isAbstract" : false,
   "isBuilderTop" : false,
       "name" : "id",
       "type" : "String",
       "desc" : "The DomQuery path relative from the record element to the element that contains\na record identifier value.",
-      "memberOf" : "Roo.data.XmlReader"
+      "memberOf" : ""
     },
     {
       "name" : "success",
       "type" : "String",
       "desc" : "The DomQuery path to the success attribute used by forms.",
-      "memberOf" : "Roo.data.XmlReader"
+      "memberOf" : ""
     },
     {
       "name" : "record",
       "type" : "String",
       "desc" : "The DomQuery path to the repeated element which contains record information.",
-      "memberOf" : "Roo.data.XmlReader"
+      "memberOf" : ""
     },
     {
       "name" : "totalRecords",
       "type" : "String",
       "desc" : "The DomQuery path from which to retrieve the total number of records\nin the dataset. This is only needed if the whole dataset is not passed in one go, but is being\npaged from the remote server.",
-      "memberOf" : "Roo.data.XmlReader"
+      "memberOf" : ""
     }
   ],
   "methods" : [