|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jplist.core.DataElement
public class DataElement
Implement the DataElement. The DataElement is a scalar type, it is usually used to store byte arrays in String form. The implementation is identical to StringElement, this is something of syntactic sugar for PLists.
| Field Summary |
|---|
| Fields inherited from interface net.sf.jplist.core.IElement |
|---|
ARRAY, DATA, DICTIONARY, DOCUMENT, STRING |
| Constructor Summary | |
|---|---|
DataElement()
Instantiate a DataElement object. |
|
| Method Summary | |
|---|---|
void |
addContent(java.lang.Object obj)
Adds content to the DataElement. |
java.lang.Object |
getContent()
Return the Content of the DataElement. |
void |
setContent(java.lang.Object obj)
Sets content in the DataElement. |
int |
typeOf()
Returns the type of IElement object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataElement()
| 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 which represents the content.
JPListException - if there was a problem with adding content.IElement.addContent(java.lang.Object)
public void setContent(java.lang.Object obj)
throws JPListException
setContent in interface IElementobj - the Object to set.
JPListException - if there was a problem with setting content.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 | |||||||||