|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jplist.core.Document
public class Document
Implements the Document object for JPList. A Document is an implementation of the IElement interface and represents the top level container for the PList.
| Field Summary | |
|---|---|
protected java.util.List |
elements
|
| Fields inherited from interface net.sf.jplist.core.IElement |
|---|
ARRAY, DATA, DICTIONARY, DOCUMENT, STRING |
| Constructor Summary | |
|---|---|
Document()
Instantiate a Document object. |
|
| Method Summary | |
|---|---|
void |
addContent(java.lang.Object obj)
Allows addition of a single IElement object. |
java.lang.Object |
getContent()
Returns a List object of all elements in the Document. |
void |
setContent(java.lang.Object obj)
Sets all the elements into the Document. |
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 Document()
| 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 IElement object 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 IElementobj - the IElement object to set.
JPListException - if there was a problem 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 | |||||||||