AjaxSocialNetwork Class Reference

Inherited by AjaxSocialNetwork.Ask, AjaxSocialNetwork.Delicious, AjaxSocialNetwork.Digg, AjaxSocialNetwork.Facebook, AjaxSocialNetwork.Furl, AjaxSocialNetwork.Google, AjaxSocialNetwork.Magnolia, AjaxSocialNetwork.Netscape, AjaxSocialNetwork.Newsvine, AjaxSocialNetwork.Ning, AjaxSocialNetwork.Rawsugar, AjaxSocialNetwork.Reddit, AjaxSocialNetwork.Spurl, AjaxSocialNetwork.Squidoo, AjaxSocialNetwork.StumbleUpon, AjaxSocialNetwork.Tagtooga, AjaxSocialNetwork.Technorati, AjaxSocialNetwork.WindowsLive, and AjaxSocialNetwork.YahooMyWeb.

Collaboration diagram for AjaxSocialNetwork:

Collaboration graph
[legend]

List of all members.

Classes

class  Ask
class  Delicious
class  Digg
class  Facebook
class  Furl
class  Google
class  Magnolia
class  Netscape
class  Newsvine
class  Ning
class  Rawsugar
class  Reddit
class  Spurl
class  Squidoo
class  StumbleUpon
class  Tagtooga
class  Technorati
class  WindowsLive
class  YahooMyWeb

Public Member Functions

String iconFramework ()
String iconName ()
String name ()
abstract String submissionUrl (String url, String title)

Static Public Member Functions

static void registerSocialNetworkNamed (AjaxSocialNetwork socialNetwork, String name)
static AjaxSocialNetwork socialNetworkNamed (String name)

Protected Member Functions

String _submissionUrl (String baseUrl, String urlKey, String targetUrl, String titleKey, String title, NSDictionary< String, String > additionalParams)

Static Package Functions

 [static initializer]

Static Private Attributes

static NSMutableDictionary
< String, AjaxSocialNetwork
_socialNetworks


Detailed Description

Provides an interface to retrieving information and URLs about various social network sites.

Author:
mschrag

Member Function Documentation

[static initializer] (  )  [static, package]

String _submissionUrl ( String  baseUrl,
String  urlKey,
String  targetUrl,
String  titleKey,
String  title,
NSDictionary< String, String additionalParams 
) [protected]

String iconFramework (  ) 

Returns the icon framework for the social network.

Returns:
the icon framework for the social network

String iconName (  ) 

Returns the icon path for the social network.

Returns:
the icon path for the social network

Reimplemented in AjaxSocialNetwork.Furl, AjaxSocialNetwork.Facebook, AjaxSocialNetwork.Reddit, and AjaxSocialNetwork.StumbleUpon.

String name (  ) 

Returns the display name of the social network.

Returns:
the display name of the social network

Reimplemented in AjaxSocialNetwork.YahooMyWeb.

static void registerSocialNetworkNamed ( AjaxSocialNetwork  socialNetwork,
String  name 
) [static]

Registers a new social network with the given name.

Parameters:
socialNetwork the social network
name the lookup name

static AjaxSocialNetwork socialNetworkNamed ( String  name  )  [static]

Returns the social network with the given name. Supported names include: delicious, digg, facebook, furl, newsvine, netscape, reddit, stumble, technorati, squidoo, live, yahoo, ask, google, magnolia, ning, rawsugar, spurl, and tagtooga.

Parameters:
name the name of the social network site
Returns:
the matching Social Network
Exceptions:
NoSuchElementException if there is no social network registered with that name

abstract String submissionUrl ( String  url,
String  title 
) [pure virtual]


Member Data Documentation


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:42:40 2012 for Project Wonder by  doxygen 1.5.8