Main Page | Packages | Class Tree | Index | Help

mx.data.encoders

class DatasetDeltaToXUpdateDelta

mx.data.binding.DataAccessor
  |
  +--mx.data.encoders.DatasetDeltaToXUpdateDelta


class DatasetDeltaToXUpdateDelta
extends DataAccessor

An encoder that encodes a deltapacket from a dataset into a deltapacket that can be used by the XUpdateResolver



Field Summary


rowNodeKey: String
static var XPathInfo:String = XMLtoDataSetItems.XPathInfo;

Method Summary


getGettableTypes ( ): Array



getSettableTypes ( ): Array



getTypedValue ( requestedType: String ): TypedValue
Public methods


setTypedValue ( newValue: TypedValue ): Array
Creates a new deltaPacket and populates it with a modified version of the incoming one.



Field Documentation

rowNodeKey

var rowNodeKey: String
static var XPathInfo:String = XMLtoDataSetItems.XPathInfo;


Method Documentation

getGettableTypes

function getGettableTypes(): Array

getSettableTypes

function getSettableTypes(): Array

getTypedValue

function getTypedValue(requestedType: String): TypedValue
Public methods

setTypedValue

function setTypedValue(newValue: TypedValue): Array
Creates a new deltaPacket and populates it with a modified version of the incoming one.

These modifications are necessary so that it can be used by the XUpdateResolver. Modifications are as follows: -Each delta item for each update operation will be split out into it's own delta -Each update or delete delta will have the getSource() set to the XPath string that identifies the node -Each append delta will will have the getSource() set to an anonymous object that has the following properties: + xpath: XPath that identifies the parent node. + node: XMLNode object containing the node to be added.


The documentation was generated from the following file:


Copyright © 1997-2005 Macromedia, Inc. All rights reserved. Generated with AS2Doc