|
|
|
@ -50,10 +50,14 @@ public class RtmTaskNote
|
|
|
|
created = parseDate(element.getAttribute("created"));
|
|
|
|
created = parseDate(element.getAttribute("created"));
|
|
|
|
modified = parseDate(element.getAttribute("modified"));
|
|
|
|
modified = parseDate(element.getAttribute("modified"));
|
|
|
|
title = element.getAttribute("title");
|
|
|
|
title = element.getAttribute("title");
|
|
|
|
if (element.getChildNodes().getLength() > 0)
|
|
|
|
|
|
|
|
{
|
|
|
|
// The note text itself might be split across multiple children of the
|
|
|
|
Text innerText = (Text) element.getChildNodes().item(0);
|
|
|
|
// note element, so get all of the children.
|
|
|
|
text = innerText.getData();
|
|
|
|
for (int i=0; i<element.getChildNodes().getLength(); i++) {
|
|
|
|
|
|
|
|
Text innerText = (Text) element.getChildNodes().item(i);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (text == null) text = "";
|
|
|
|
|
|
|
|
text = text.concat(innerText.getData().toString());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|