Static Class doing nothing more than Parsing to Data Objects
public static function parseBoolean(xml:XML):Array
Parses out Boolean value from a hasFriendship Request
Parameters
| xml:XML — The XML Response from Twitter
|
Returns
public static function parseCursor(xml:XML):CursorData
Parses Cursor Information if the response supplied by twitter contains it.
Parameters
| xml:XML — The XML Response from Twitter
|
Returns
public static function parseDirectMessages(xml:XML):Array
Parses a Direct Message XML to DirectMessageData Objects
Parameters
| xml:XML — The XML Response from Twitter
|
Returns
| Array — An Array filled with DirectMessageData's
|
public static function parseHash(xml:XML):Array
Parses a Hash XML to HashData Objects
Parameters
| xml:XML — The XML Response from Twitter
|
Returns
| Array — An Array filled with HashData Objects
|
public static function parseIds(xml:XML):Array
Parses a ID XML to an Array
Parameters
| xml:XML — The XML Response from Twitter
|
Returns
| Array — An Array filled numeric Id's
|
public static function parseLists(xml:XML):Array
Parses a List XML to an Array
Parameters
| xml:XML — The XML Response from twitter
|
Returns
| Array — An Array filled with ListDatas
|
public static function parseRelationship(xml:XML):Array
Parses a Relation XML to an Array
Parameters
| xml:XML — The XML Response from Twitter
|
Returns
| Array — An Array with a source and a target RelationData
|
public static function parseSavedSearches(xml:XML):Array
Parses a Saved Searches XML to SavedSearchData Objects
Parameters
| xml:XML — The XML Response from Twitter
|
Returns
| Array — An Array filled with SavedSearchData Objects
|
public static function parseSearchResults(xml:XML):Array
Parses a Searchresult XML to SearchResult Objects
Parameters
| xml:XML — The XML Response from Twitter
|
Returns
| Array — An Array filled with SearchResult Objects
|
public static function parseStatuses(xml:XML):Array
Parses a Status XML to StatusData Objects
Parameters
| xml:XML — The XML Response from Twitter
|
Returns
| Array — An Array filled with StatusData's
|
public static function parseTrendsResults(data:String):Array
Parses a Trend JSON to TrendData Objects
Parameters
| data:String — The XML Response from Twitter
|
Returns
| Array — An Array filled with TrendData Objects
|
public static function parseUserInfos(xml:XML, extended:Boolean = true):Array
Parses a User XML to either UserData or ExtendedUserData Objects
Parameters
| xml:XML — The XML Response from Twitter
|
| |
| extended:Boolean (default = true) — Should extended User Element be retrieved
|
Returns
| Array — An Array filled with either UserData or ExtendedUserData Objects
|
comments powered by
[swfjunkie.com] - Open source under GNU Lesser GPL