public class MicroblogProfile extends Object implements Serializable
Constructor and Description |
---|
MicroblogProfile() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
String |
getAuthenPassword()
Returns the value of field 'authenPassword'.
|
String |
getAuthenUsername()
Returns the value of field 'authenUsername'.
|
String |
getName()
Returns the value of field 'name'.
|
String |
getOauthAccessToken()
Returns the value of field 'oauthAccessToken'.
|
String |
getOauthAccessTokenSecret()
Returns the value of field 'oauthAccessTokenSecret'.
|
String |
getOauthConsumerKey()
Returns the value of field 'oauthConsumerKey'.
|
String |
getOauthConsumerSecret()
Returns the value of field 'oauthConsumerSecret'.
|
String |
getServiceUrl()
Returns the value of field 'serviceUrl'.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
boolean |
isValid()
Method isValid.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
setAuthenPassword(String authenPassword)
Sets the value of field 'authenPassword'.
|
void |
setAuthenUsername(String authenUsername)
Sets the value of field 'authenUsername'.
|
void |
setName(String name)
Sets the value of field 'name'.
|
void |
setOauthAccessToken(String oauthAccessToken)
Sets the value of field 'oauthAccessToken'.
|
void |
setOauthAccessTokenSecret(String oauthAccessTokenSecret)
Sets the value of field 'oauthAccessTokenSecret'.
|
void |
setOauthConsumerKey(String oauthConsumerKey)
Sets the value of field 'oauthConsumerKey'.
|
void |
setOauthConsumerSecret(String oauthConsumerSecret)
Sets the value of field 'oauthConsumerSecret'.
|
void |
setServiceUrl(String serviceUrl)
Sets the value of field 'serviceUrl'.
|
static MicroblogProfile |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public boolean equals(Object obj)
public String getAuthenPassword()
public String getAuthenUsername()
public String getName()
public String getOauthAccessToken()
public String getOauthAccessTokenSecret()
public String getOauthConsumerKey()
public String getOauthConsumerSecret()
public String getServiceUrl()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public boolean isValid()
public void marshal(Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out
- org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
- IOException
- if an IOException occurs during
marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaorg.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingpublic void setAuthenPassword(String authenPassword)
authenPassword
- the value of field 'authenPassword'.public void setAuthenUsername(String authenUsername)
authenUsername
- the value of field 'authenUsername'.public void setName(String name)
name
- the value of field 'name'.public void setOauthAccessToken(String oauthAccessToken)
oauthAccessToken
- the value of field 'oauthAccessToken'public void setOauthAccessTokenSecret(String oauthAccessTokenSecret)
oauthAccessTokenSecret
- the value of field
'oauthAccessTokenSecret'.public void setOauthConsumerKey(String oauthConsumerKey)
oauthConsumerKey
- the value of field 'oauthConsumerKey'public void setOauthConsumerSecret(String oauthConsumerSecret)
oauthConsumerSecret
- the value of field
'oauthConsumerSecret'.public void setServiceUrl(String serviceUrl)
serviceUrl
- the value of field 'serviceUrl'.public static MicroblogProfile unmarshal(Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader
- org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaCopyright © 2017. All rights reserved.