|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TaskWriter
Interface to write a task.
Method Summary | |
---|---|
void |
writeAttribute(org.eclipse.mylyn.tasks.core.data.TaskAttribute attribute) Writes the attribute. |
void |
writeAttributes(Map<String,org.eclipse.mylyn.tasks.core.data.TaskAttribute> attributes) Writes the set of attributes. |
void |
writeAttributeValues(org.eclipse.mylyn.tasks.core.data.TaskAttribute attribute) Writes the attribute values. |
void |
writeMap(String gi, Map<String,String> map) Writes the key and values of the map. |
void |
writeSimpleElement(String gi, String content) Writes a simple element containing no attributes and only text content. |
void |
writeTask(org.eclipse.mylyn.tasks.core.data.TaskData task) Writes the given task to the stream referenced by this instance. |
Method Detail |
---|
void writeTask(org.eclipse.mylyn.tasks.core.data.TaskData task) throws Exception
task
- the task to write.
Exception
- if the information cannot be written.
void writeAttribute(org.eclipse.mylyn.tasks.core.data.TaskAttribute attribute) throws Exception
attribute
- the attribute to write.
Exception
- if the information cannot be written.
void writeAttributes(Map<String,org.eclipse.mylyn.tasks.core.data.TaskAttribute> attributes) throws Exception
attributes
- the attributes to write.
Exception
- if the information cannot be written.
void writeAttributeValues(org.eclipse.mylyn.tasks.core.data.TaskAttribute attribute) throws Exception
attribute
- whose values are to be written.
Exception
- if the information cannot be written.
void writeMap(String gi, Map<String,String> map) throws Exception
gi
- the generic identifier of the element within the key-value pairs are written.
map
- the information to be written inside the element specified by
gi
.
Exception
- if the information cannot be written.
void writeSimpleElement(String gi, String content) throws Exception
gi
- the generic identifier of the XML element to be written.
content
- the content of the XML element to be written.
Exception
- if the information cannot be written.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |