Packageat.utils
Classpublic class DataFormattingUtils
ImplementsIDataFormattingUtils



Public Methods
 MethodDefined by
  
DataFormattingUtils(caller:Function = null)
DataFormattingUtils
  
buildChildSlideListBasedOnRules(slide:XML, masterList:XMLList):XML
[static] Takes a slide XML nodes, and adds a list of subnodes that must accompany the slide (if any are required to accompany it)
DataFormattingUtils
  
buildDependancyList(normalizedSlideList:XMLList, masterList:XMLList):XMLList
[static] Creates sub-node lists for each slide node (with itself, and all other required slides if other slides must accopany it)
DataFormattingUtils
  
buildNormalizedCall(call:XMLList):XMLList
[static] Given a call that has a list of slides, and/or list of slides that have slides subnodes, returns a list where all sub nodes are brought up as siblings to all other nodes.
DataFormattingUtils
  
[static]
DataFormattingUtils
Constructor detail
DataFormattingUtils()constructor
public function DataFormattingUtils(caller:Function = null)Parameters
caller:Function (default = null)
Method detail
buildChildSlideListBasedOnRules()method
public static function buildChildSlideListBasedOnRules(slide:XML, masterList:XMLList):XML

Takes a slide XML nodes, and adds a list of subnodes that must accompany the slide (if any are required to accompany it)

Parameters
slide:XML
 
masterList:XMLList

Returns
XML
buildDependancyList()method 
public static function buildDependancyList(normalizedSlideList:XMLList, masterList:XMLList):XMLList

Creates sub-node lists for each slide node (with itself, and all other required slides if other slides must accopany it)

Parameters
normalizedSlideList:XMLList
 
masterList:XMLList

Returns
XMLList
buildNormalizedCall()method 
public static function buildNormalizedCall(call:XMLList):XMLList

Given a call that has a list of slides, and/or list of slides that have slides subnodes, returns a list where all sub nodes are brought up as siblings to all other nodes. Ensures a node wraps the list)

Parameters
call:XMLList

Returns
XMLList
getInstance()method 
public static function getInstance():DataFormattingUtils

Returns
DataFormattingUtils