for (String corpusFolder : dotCorpus.getCorpusFolderNameList()) {
AttributesImpl corpusFolderAttributes = new AttributesImpl();
corpusFolderAttributes.addAttribute("", "", CORPUS_FOLDER_ATTRIBUTE, "", corpusFolder);
xmlSerHandler.startElement("", CORPUS_ELEMENT, CORPUS_ELEMENT, corpusFolderAttributes);
xmlSerHandler.endElement("", CORPUS_ELEMENT, CORPUS_ELEMENT);
}
for (AnnotationStyle style : dotCorpus.getAnnotationStyles()) {
AttributesImpl styleAttributes = new AttributesImpl();
styleAttributes.addAttribute("", "", STYLE_TYPE_ATTRIBUTE, "", style.getAnnotation());