| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jplist.core.DictionaryElement
public class DictionaryElement
Implements a DictionaryElement. A DictionaryElement is a container type for NameValuePair objects. Each NameValuePair object contains a String key and a value which can be any object that implements IElement.
| Field Summary | 
|---|
| Fields inherited from interface net.sf.jplist.core.IElement | 
|---|
ARRAY, DATA, DICTIONARY, DOCUMENT, STRING | 
| Constructor Summary | |
|---|---|
DictionaryElement()
Instantiate a DictionaryElement.  | 
|
| Method Summary | |
|---|---|
 void | 
addContent(java.lang.Object obj)
Adds a single name-value pair to the DictionaryElement.  | 
 java.lang.Object | 
getContent()
Returns a Map of name value pairs.  | 
 void | 
setContent(java.lang.Object obj)
Sets the contents of a DictionaryElement.  | 
 int | 
typeOf()
Returns the type of the IElement object.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public DictionaryElement()
| Method Detail | 
|---|
public java.lang.Object getContent()
getContent in interface IElementIElement.getContent()
public void addContent(java.lang.Object obj)
                throws JPListException
addContent in interface IElementobj - the Object to add.
JPListException - if the Object is not a NameValuePair.IElement.addContent(java.lang.Object)
public void setContent(java.lang.Object obj)
                throws JPListException
setContent in interface IElementobj - the Object to set.
JPListException - if the Object is not a Map.IElement.setContent(java.lang.Object)public int typeOf()
typeOf in interface IElementIElement.typeOf()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||