SASAX-RSS gui

jp.ne.dti.lares.foozy.sasax.rss
Class ContainerBase

java.lang.Object
  |
  +--jp.ne.dti.lares.foozy.sasax.rss.ContainerBase
Direct Known Subclasses:
Channel, Item

public class ContainerBase
extends java.lang.Object

Base class for specific information containers.

Author:
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>(code/doc)

Constructor Summary
ContainerBase()
          Constructor.
 
Method Summary
 java.lang.String getString(java.lang.String key)
          Get string value identified by specified key.
 java.lang.Object getValue(java.lang.String key)
          Get value identified by specified key.
 void setValue(java.lang.String key, java.lang.Object value)
          Set value identified by specified key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContainerBase

public ContainerBase()
Constructor.
Method Detail

getValue

public final java.lang.Object getValue(java.lang.String key)
Get value identified by specified key.
Parameters:
key - to identify value
Returns:
value if found, or null otherwise

getString

public final java.lang.String getString(java.lang.String key)
Get string value identified by specified key.

This is almost equivalent to getValue(key).toString().

Parameters:
key - to identify value
Returns:
value if found, or null otherwise

setValue

public final void setValue(java.lang.String key,
                           java.lang.Object value)
Set value identified by specified key.
Parameters:
key - to identify value
Returns:
value to be set

SASAX-RSS gui