com.google.code.linkedinapi.client.impl
Class LinkedInApiXppClient

java.lang.Object
  extended by com.google.code.linkedinapi.client.impl.BaseLinkedInApiClient
      extended by com.google.code.linkedinapi.client.impl.LinkedInApiXppClient
All Implemented Interfaces:
LinkedInApiClient, LinkedInAuthenticationClient, LinkedInCommunicationClient

public class LinkedInApiXppClient
extends BaseLinkedInApiClient

Author:
Nabeel Mukhtar

Field Summary
private static java.util.Map<java.lang.Class<? extends SchemaEntity>,java.lang.Class<? extends BaseSchemaEntity>> DOM_CLASSES_MAP
          Field description
private static SchemaElementFactory<java.lang.String> OBJECT_FACTORY
          Field description
 
Fields inherited from class com.google.code.linkedinapi.client.impl.BaseLinkedInApiClient
CONNECTION_FIELDS, LOG
 
Constructor Summary
LinkedInApiXppClient(java.lang.String consumerKey, java.lang.String consumerSecret)
          Constructs ...
 
Method Summary
protected  LinkedInApiUrls.LinkedInApiUrlBuilder createLinkedInApiUrlBuilder(java.lang.String urlFormat)
          Method description
protected  SchemaElementFactory<?> createObjectFactory()
          Method description
private  BaseSchemaEntity getSchemaEntityByClass(java.lang.Class<?> clazz)
          Method description
protected  java.lang.String marshallObject(java.lang.Object element)
          Method description
protected
<T> T
unmarshallObject(java.lang.Class<T> clazz, java.io.InputStream xmlContent)
          Method description
 
Methods inherited from class com.google.code.linkedinapi.client.impl.BaseLinkedInApiClient
addRequestHeader, assertNotNull, assertNotNullOrEmpty, assertNotNullOrEmpty, assertPositiveNumber, callApiMethod, callApiMethod, callApiMethod, callApiMethod, closeConnection, closeStream, convertStreamToString, createLinkedInApiClientException, deleteCurrentStatus, getAccessToken, getApiConsumer, getConnectionsById, getConnectionsById, getConnectionsById, getConnectionsById, getConnectionsById, getConnectionsById, getConnectionsById, getConnectionsById, getConnectionsByUrl, getConnectionsByUrl, getConnectionsByUrl, getConnectionsByUrl, getConnectionsByUrl, getConnectionsByUrl, getConnectionsByUrl, getConnectionsByUrl, getConnectionsForCurrentUser, getConnectionsForCurrentUser, getConnectionsForCurrentUser, getConnectionsForCurrentUser, getConnectionsForCurrentUser, getConnectionsForCurrentUser, getConnectionsForCurrentUser, getConnectionsForCurrentUser, getNetworkUpdateComments, getNetworkUpdateLikes, getNetworkUpdates, getNetworkUpdates, getNetworkUpdates, getNetworkUpdates, getNetworkUpdates, getNetworkUpdates, getNetworkUpdates, getNetworkUpdates, getProfileByApiRequest, getProfileById, getProfileById, getProfileById, getProfileById, getProfileByUrl, getProfileByUrl, getProfileForCurrentUser, getProfileForCurrentUser, getRequestHeaders, getUserUpdates, getUserUpdates, getUserUpdates, getUserUpdates, getUserUpdates, getUserUpdates, getUserUpdates, getWrappedInputStream, isNullOrEmpty, likePost, postComment, postNetworkUpdate, postShare, postShare, readResponse, removeRequestHeader, reShare, searchPeople, searchPeople, searchPeople, searchPeople, searchPeople, searchPeople, searchPeople, searchPeople, searchPeople, searchPeople, searchPeople, searchPeople, searchPeople, searchPeople, searchPeople, searchPeople, searchPeople, searchPeople, searchPeople, searchPeople, searchPeople, searchPeople, searchPeople, searchPeople, searchPeople, sendInviteByEmail, sendInviteById, sendInviteToPerson, sendMessage, setAccessToken, setApiConsumer, setRequestHeaders, unlikePost, updateCurrentStatus, updateCurrentStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OBJECT_FACTORY

private static final SchemaElementFactory<java.lang.String> OBJECT_FACTORY
Field description


DOM_CLASSES_MAP

private static final java.util.Map<java.lang.Class<? extends SchemaEntity>,java.lang.Class<? extends BaseSchemaEntity>> DOM_CLASSES_MAP
Field description

Constructor Detail

LinkedInApiXppClient

public LinkedInApiXppClient(java.lang.String consumerKey,
                            java.lang.String consumerSecret)
Constructs ...

Parameters:
consumerKey -
consumerSecret -
Method Detail

unmarshallObject

protected <T> T unmarshallObject(java.lang.Class<T> clazz,
                                 java.io.InputStream xmlContent)
Method description

Specified by:
unmarshallObject in class BaseLinkedInApiClient
Type Parameters:
T -
Parameters:
xmlContent -
Returns:

marshallObject

protected java.lang.String marshallObject(java.lang.Object element)
Method description

Specified by:
marshallObject in class BaseLinkedInApiClient
Parameters:
element -
Returns:

createObjectFactory

protected SchemaElementFactory<?> createObjectFactory()
Method description

Specified by:
createObjectFactory in class BaseLinkedInApiClient
Returns:

createLinkedInApiUrlBuilder

protected LinkedInApiUrls.LinkedInApiUrlBuilder createLinkedInApiUrlBuilder(java.lang.String urlFormat)
Method description

Specified by:
createLinkedInApiUrlBuilder in class BaseLinkedInApiClient
Parameters:
urlFormat -
Returns:

getSchemaEntityByClass

private BaseSchemaEntity getSchemaEntityByClass(java.lang.Class<?> clazz)
Method description