net.spy.digg.parsers
Class TopicImpl

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

public class TopicImpl
extends java.lang.Object
implements Topic, java.io.Serializable

A topic within digg.

See Also:
Serialized Form

Constructor Summary
TopicImpl(java.lang.String n, java.lang.String sn)
          Construct a topic.
 
Method Summary
 java.lang.String getContainerName()
          Get the name of this topic's container.
 java.lang.String getName()
          Get the name of this topic.
 java.lang.String getShortName()
          Get the short name of this topic.
 void setContainerName(java.lang.String to)
          Set the name of this container.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TopicImpl

public TopicImpl(java.lang.String n,
                 java.lang.String sn)
Construct a topic.

Method Detail

getContainerName

public java.lang.String getContainerName()
Description copied from interface: Topic
Get the name of this topic's container.

Specified by:
getContainerName in interface Topic

getName

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

Specified by:
getName in interface Topic

getShortName

public java.lang.String getShortName()
Description copied from interface: Topic
Get the short name of this topic.

Specified by:
getShortName in interface Topic

toString

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

setContainerName

public void setContainerName(java.lang.String to)
Set the name of this container.