|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jivesoftware.sparkimpl.plugin.scratchpad.Tasks
public class Tasks
Nested Class Summary | |
---|---|
static class |
Tasks.Provider
The IQ Provider for Tasks |
Constructor Summary | |
---|---|
Tasks()
Required Empty Constructor to use Tasks. |
Method Summary | |
---|---|
void |
addTask(Task task)
|
java.lang.String |
getElementName()
Returns the root element name. |
java.lang.String |
getNamespace()
Returns the root element XML namespace. |
static Task |
getTask(org.xmlpull.v1.XmlPullParser parser)
|
static Tasks |
getTaskList(org.jivesoftware.smack.XMPPConnection con)
|
java.util.List |
getTasks()
|
static void |
main(java.lang.String[] args)
|
static void |
saveTasks(Tasks tasks,
org.jivesoftware.smack.XMPPConnection con)
|
void |
setTasks(java.util.List tasks)
|
java.lang.String |
toXML()
Returns the XML reppresentation of the PrivateData. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Tasks()
Method Detail |
---|
public java.util.List getTasks()
public void setTasks(java.util.List tasks)
public void addTask(Task task)
public java.lang.String getElementName()
getElementName
in interface org.jivesoftware.smackx.packet.PrivateData
public java.lang.String getNamespace()
getNamespace
in interface org.jivesoftware.smackx.packet.PrivateData
public java.lang.String toXML()
toXML
in interface org.jivesoftware.smackx.packet.PrivateData
public static Task getTask(org.xmlpull.v1.XmlPullParser parser) throws java.lang.Exception
java.lang.Exception
public static void saveTasks(Tasks tasks, org.jivesoftware.smack.XMPPConnection con)
public static Tasks getTaskList(org.jivesoftware.smack.XMPPConnection con)
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |