StaxReviewXmlUtil.writeElement(writer, ELEMENT_REVIEWER_ID, reviewIssue.getReviewerId());
StaxReviewXmlUtil.writeElement(writer, ELEMENT_ASSIGNED_TO, reviewIssue.getAssignedTo());
writer.writeStartElement(ELEMENT_FILE);
File file = reviewIssue.getFile();
if (file.getLine() != null) {
writer.writeAttribute(ATTRIBUTE_LINE, String.valueOf(file.getLine()));
}
if (file.getValue() != null) {
writer.writeCharacters(file.getValue());
}
writer.writeEndElement(); // File
StaxReviewXmlUtil.writeElement(writer, ELEMENT_TYPE, reviewIssue.getType());
StaxReviewXmlUtil.writeElement(writer, ELEMENT_SEVERITY, reviewIssue.getSeverity());