net.spy.digg.parsers
Class UserImpl

java.lang.Object
  extended by net.spy.digg.parsers.UserImpl
All Implemented Interfaces:
java.io.Serializable, User

public class UserImpl
extends java.lang.Object
implements User, java.io.Serializable

A Digg user.

See Also:
Serialized Form

Constructor Summary
UserImpl(org.w3c.dom.Node n)
           
 
Method Summary
 java.lang.String getIcon()
          Get the URL to this user's icon.
 java.lang.String getName()
          Get the name of this user.
 int getProfileviews()
          Get the number of profile views for this user.
 long getRegistered()
          Get the date this user registered.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserImpl

public UserImpl(org.w3c.dom.Node n)
Method Detail

getIcon

public java.lang.String getIcon()
Description copied from interface: User
Get the URL to this user's icon.

Specified by:
getIcon in interface User

getName

public java.lang.String getName()
Description copied from interface: User
Get the name of this user.

Specified by:
getName in interface User

getProfileviews

public int getProfileviews()
Description copied from interface: User
Get the number of profile views for this user.

Specified by:
getProfileviews in interface User

getRegistered

public long getRegistered()
Description copied from interface: User
Get the date this user registered.

Specified by:
getRegistered in interface User

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object