@Override
   public void processCharacterBytes(byte[] data)
   {
      try
      {
         if (data.length != 0)
         {
            writer.writeStartElement("chars");
            writer.writeCharacters(new String(data));
            writer.writeEndElement();
         }
      }

      catch (XMLStreamException ex)
      {
         throw new RuntimeException(ex);
      }
   }