|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jplist.core.ArrayElement
public class ArrayElement
Implements the ArrayElement object. An ArrayElement is a container type for any type that implements IElement.
Field Summary | |
---|---|
protected java.util.List |
elements
|
Fields inherited from interface net.sf.jplist.core.IElement |
---|
ARRAY, DATA, DICTIONARY, DOCUMENT, STRING |
Constructor Summary | |
---|---|
ArrayElement()
Instantiate an ArrayElement object. |
Method Summary | |
---|---|
void |
addContent(java.lang.Object obj)
Adds a single element to the ArrayElement object. |
java.lang.Object |
getContent()
Returns a List containing elements in the ArrayElement object. |
void |
setContent(java.lang.Object obj)
Sets the content of the ArrayElement object from a List. |
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 |
Field Detail |
---|
protected java.util.List elements
Constructor Detail |
---|
public ArrayElement()
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
- an IElement object to add.
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
- a List.
JPListException
- if a wrong type was passed in.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 |