DatasetDeltaToXUpdateDelta

Kind of class:class
Inherits from:DataAccessor
Classpath:mx.data.encoders.DatasetDeltaToXUpdateDelta
File last modified:Tuesday, 18 December 2007, 15:44:38
An encoder that encodes a deltapacket from a dataset into a deltapacket that can be used by the XUpdateResolver

Summary


Instance properties
Instance properties inherited from DataAccessor
Class methods
Class methods inherited from DataAccessor
Instance methods

Instance properties

rowNodeKey

rowNodeKey:String
(read)

Instance methods

addDeltaItemToDelta

private function addDeltaItemToDelta (
di:DeltaItem, delta:Delta) : Void

addNewNodeData

private function addNewNodeData (
xmlDoc:XML, deltaObj:Delta) : Void

createXMLElementFromXPath

private function createXMLElementFromXPath (
xmlDoc:XML, xpath:String) : XMLNode

createXMLElementRecursePath

private function createXMLElementRecursePath (
xmlDoc:XML, contextNode:XMLNode, strParser:StringTokenParser) : Number

createXMLNode

private function createXMLNode (
deltaObj:Delta) : XMLNode

encodeFieldValue

private function encodeFieldValue (
fieldName:String, value:Object) : String

getChildNodeByName

private function getChildNodeByName (
node:XMLNode, nodeName:String) : XMLNode

getDelta

private function getDelta (
deltaObj:Delta, xpathInfo:Object) : DeltaImpl

getFullXPathToField

private function getFullXPathToField (
deltaObj:Delta, fieldName:String) : String

getGettableTypes

function getGettableTypes (
) : Array

Retrieves a list of types that getTypedValue can produce.
#
Returns:
  • an Array of type names. When you call getTypedValue, we prefer that you request
    from it a value of one of these types.
    .
    #

getNewDeltaList

private function getNewDeltaList (
dp:DeltaPacket) : Array

getParamValue

private function getParamValue (
param:String, deltaObj:Delta) : String

getSettableTypes

function getSettableTypes (
) : Array

Retrieves a list of types that setTypedValue can accept.
#
Returns:
  • an Array of type names. When you call setTypedValue, we prefer that call it with
    a value of one of these types.
    .
    #

getTypedValue

function getTypedValue (
requestedType:String) : TypedValue

getXPathToField

private function getXPathToField (
deltaObj:Delta, fieldName:String) : String

getXPathToParent

private function getXPathToParent (
deltaObj:Delta) : String

getXPathToRow

private function getXPathToRow (
deltaObj:Delta) : String

replacePathIndexParameters

private function replacePathIndexParameters (
pathIndex:String, deltaObj:Delta) : String

setTypedValue

function setTypedValue (
newValue:TypedValue) : Array