use of org.activiti.bpmn.model.TextAnnotation in project Activiti by Activiti.
the class TextAnnotationXMLConverter method writeAdditionalChildElements.
@Override
protected void writeAdditionalChildElements(BaseElement element, BpmnModel model, XMLStreamWriter xtw) throws Exception {
TextAnnotation textAnnotation = (TextAnnotation) element;
if (StringUtils.isNotEmpty(textAnnotation.getText())) {
xtw.writeStartElement(ELEMENT_TEXT_ANNOTATION_TEXT);
xtw.writeCharacters(textAnnotation.getText());
xtw.writeEndElement();
}
}
Aggregations