return summaryE==null ? null : new Text(summaryE);
}
public void setSummary(String text)
{
Element summaryE = doc.getDocumentElement().getFirstElementNamed(XML.SUMMARY_NAME);
if (summaryE==null) {
if (doc.getDocumentElement().size()==0) {
summaryE = doc.getDocumentElement().addElement(XML.SUMMARY_NAME);
} else {
summaryE = doc.getDocumentElement().addElement(0,XML.SUMMARY_NAME);
}
}
summaryE.clear();
summaryE.addCharacters(text);
}