com.sun.syndication.feed.atom
Class Person

java.lang.Object
  extended bycom.sun.syndication.common.ObjectBean
      extended bycom.sun.syndication.feed.atom.Person
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable, ToString

public class Person
extends ObjectBean

Bean for person elements of Atom feeds.

Author:
Alejandro Abdelnur
See Also:
Serialized Form

Constructor Summary
Person()
          Default constructor.
 
Method Summary
 java.lang.String getEmail()
          Returns the person email.
 java.lang.String getName()
          Returns the person name.
 java.lang.String getUrl()
          Returns the person URL.
 void setEmail(java.lang.String email)
          Sets the person email.
 void setName(java.lang.String name)
          Sets the personname.
 void setUrl(java.lang.String url)
          Sets the person URL.
 
Methods inherited from class com.sun.syndication.common.ObjectBean
clone, equals, hashCode, toString, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Person

public Person()
Default constructor. All properties are set to null.

Method Detail

getName

public java.lang.String getName()
Returns the person name.

Returns:
the person name, null if none.

setName

public void setName(java.lang.String name)
Sets the personname.

Parameters:
name - the person name, null if none.

getUrl

public java.lang.String getUrl()
Returns the person URL.

Returns:
the person URL, null if none.

setUrl

public void setUrl(java.lang.String url)
Sets the person URL.

Parameters:
url - the person URL, null if none.

getEmail

public java.lang.String getEmail()
Returns the person email.

Returns:
the person email, null if none.

setEmail

public void setEmail(java.lang.String email)
Sets the person email.

Parameters:
email - the person email, null if none.


Copyright © 2004 Sun Microsystems. All Rights Reserved.