public abstract class AjaxSocialNetwork extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AjaxSocialNetwork.Ask |
static class |
AjaxSocialNetwork.Delicious |
static class |
AjaxSocialNetwork.Digg |
static class |
AjaxSocialNetwork.Facebook |
static class |
AjaxSocialNetwork.Furl |
static class |
AjaxSocialNetwork.Google |
static class |
AjaxSocialNetwork.Magnolia |
static class |
AjaxSocialNetwork.Netscape |
static class |
AjaxSocialNetwork.Newsvine |
static class |
AjaxSocialNetwork.Ning |
static class |
AjaxSocialNetwork.Rawsugar |
static class |
AjaxSocialNetwork.Reddit |
static class |
AjaxSocialNetwork.Spurl |
static class |
AjaxSocialNetwork.Squidoo |
static class |
AjaxSocialNetwork.StumbleUpon |
static class |
AjaxSocialNetwork.Tagtooga |
static class |
AjaxSocialNetwork.Technorati |
static class |
AjaxSocialNetwork.WindowsLive |
static class |
AjaxSocialNetwork.YahooMyWeb |
Constructor and Description |
---|
AjaxSocialNetwork() |
Modifier and Type | Method and Description |
---|---|
protected String |
_submissionUrl(String baseUrl,
String urlKey,
String targetUrl,
String titleKey,
String title,
NSDictionary<String,String> additionalParams) |
String |
iconFramework()
Returns the icon framework for the social network.
|
String |
iconName()
Returns the icon path for the social network.
|
String |
name()
Returns the display name of the social network.
|
static void |
registerSocialNetworkNamed(AjaxSocialNetwork socialNetwork,
String name)
Registers a new social network with the given name.
|
static AjaxSocialNetwork |
socialNetworkNamed(String name)
Returns the social network with the given name.
|
abstract String |
submissionUrl(String url,
String title)
Returns the URL for submitting the given url and title to the social network.
|
public static AjaxSocialNetwork socialNetworkNamed(String name)
name
- the name of the social network siteNoSuchElementException
- if there is no social network registered with that namepublic static void registerSocialNetworkNamed(AjaxSocialNetwork socialNetwork, String name)
socialNetwork
- the social networkname
- the lookup nameprotected String _submissionUrl(String baseUrl, String urlKey, String targetUrl, String titleKey, String title, NSDictionary<String,String> additionalParams)
public String name()
public String iconFramework()
public String iconName()
Copyright © 2002 – 2020 Project Wonder.