private void writeStatus(Result.Status status) throws XMLStreamException {
        xmlStreamWriter.writeStartElement("status");
        xmlStreamWriter.writeCharacters(status.name().toLowerCase());
        xmlStreamWriter.writeEndElement();
    }
private void writeStatus ( Result . Status status ) throws XMLStreamException { xmlStreamWriter . writeStartElement ( "status" ) ; xmlStreamWriter . writeCharacters ( status . name ( ) . toLowerCase ( ) ) ; xmlStreamWriter . writeEndElement ( ) ; }
Write the status of the current result.

@throws XMLStreamException
If a problem occurs.