|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jplist.core.StringElement
public class StringElement
Implements a StringElement object.
Field Summary |
---|
Fields inherited from interface net.sf.jplist.core.IElement |
---|
ARRAY, DATA, DICTIONARY, DOCUMENT, STRING |
Constructor Summary | |
---|---|
StringElement()
Instantiate a StringElement object. |
Method Summary | |
---|---|
void |
addContent(java.lang.Object obj)
Set the String content of the object. |
java.lang.Object |
getContent()
Returns the String content of the object. |
void |
setContent(java.lang.Object obj)
Identical to the addContent() method since this is a scalar JPList type. |
int |
typeOf()
Returns the type of JPList Element. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StringElement()
Method Detail |
---|
public java.lang.Object getContent()
getContent
in interface IElement
IElement.getContent()
public void addContent(java.lang.Object obj) throws JPListException
addContent
in interface IElement
obj
- the String content to set.
JPListException
- if there was a problem adding content.IElement.addContent(java.lang.Object)
public void setContent(java.lang.Object obj) throws JPListException
setContent
in interface IElement
obj
- the content to set.
JPListException
- if there was a problem setting content.IElement.setContent(java.lang.Object)
public int typeOf()
typeOf
in interface IElement
IElement.typeOf()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |