| Previous | Next | Frames | No Frames |
| Summary: Field | Property | Contructor | Method | Detail: Field | Property | Contructor | Method |
Object
|
+--xp.system.DispatcherObject
|
+--xp.data.Connector
|
+--xp.data.CSVConnector
Field Summary | ||
| public | columnHeaders: Array | |
| set the column separtors used as delimiters, | ||
| public | columnSeparator: String | |
| set the column separtors used as delimiters, | ||
| public | direction: String | |
| Indicates whether data is being sent, received, or both. | ||
| public | params: XML | |
| the cached call params object | ||
| public | parseMode: String | |
| Should the parsed object be an array of data rows or an array of data columns | ||
| public | rowSeparator: String | |
| set the row separtors used as delimiters, | ||
| public | URL: String | |
| The URL used by the component in HTTP operations. | ||
| ||
| ||
| ||
Constructor | ||
| public | CSVConnector ( URL: String) | |
| Constructor | ||
Method Summary | ||
| public | onXMLData ( data: Object ): Void | |
| Invoked by the results xml on returning from a call needData is set if we spec that there was something being returned called in the context of the results xml | ||
| public | parseCSV ( data: String ): Object | |
| public | trigger ( ): Boolean | |
| Triggers | ||
| ||
| ||
| public var columnHeaders: Array |
| set the column separtors used as delimiters, |
| public var columnSeparator: String |
| set the column separtors used as delimiters, |
| public var direction: String |
| Indicates whether data is being sent, received, or both. Indicates whether data is being sent, received, or both. The values are the following: send XML data for the params property is sent by HTTP POST method to the URL for the XML document. Any data that is returned is ignored. The results property is not set to anything, and there is no result event. Note: The params and results properties and the result event are inherited from the RPC component API. receive No params data is sent to the URL. The URL for the XML document is accessed through HTTP GET, and valid XML data is expected from the URL. send/receive The params data is sent to the URL, and valid XML data is expected from the URL. |
| public var params: XML |
| the cached call params object |
| public var parseMode: String |
| Should the parsed object be an array of data rows or an array of data columns defaults to rows |
| public var rowSeparator: String |
| set the row separtors used as delimiters, |
| public var URL: String |
| The URL used by the component in HTTP operations. Property; the URL that this component uses when carrying out HTTP operations. This URL may be an absolute or relative URL. The URL is subject to all the standard Flash Player security protections. |
|
| Constructor | |||
|
|
| Invoked by the results xml on returning from a call needData is set if we spec that there was something being returned called in the context of the results xml | |||
|
|
: Parses a csv string and returns and array of row objects | |||
|
|
| Triggers Method; initiates a remote procedure call. Each RPC component defines exactly what this involves. If the operation is successful, the results of the operation appear in the RPC component’s results property. The trigger() method performs the following steps: If any data is bound to the params property, the method executes all the bindings to ensure that up-to-date data is available. This also causes data validation to occur. If the data is not valid and suppressInvalidCalls is set to true, the operation is discontinued. If the operation continues, the send event is emitted. The actual remote call is initiated using the connection method indicated (for example, HTTP). |
Events;
result xp.events.Event
status xp.events.StatusEvent
modelChanged xp.events.ModelChangedEvent