question: @ Override public void writeEndElement ( ) throws XMLStreamException { log . log ( Level . FINE , "writeEndElement()" ) ; calculateAndNextTag ( ) ; }
target:  Writes an end tag to the output relying on the internal state of the  writer to determine the prefix and local name of the event. In the current implementation it completes the current element with proper prefix and localName (cos now all the namespaces are correctly set).