docs: @Override
      public void marshal(
                      final Object obj,
                      final Writer writer
                      )
      {
          Writer  w = ((writer instanceof BufferedWriter)
                          ? writer
                          : (new BufferedWriter( writer )));
          try {
              _marshaller.marshal( obj, new StreamResult( w ) );
                          //@throws IOException
                          //@throws XmlMappingException
          } catch (Exception ex) {
              throw new XmlException( ex );
          } finally {
              try {
                  writer.close();
              } catch (IOException ex) {
                  //ignorable
              }
          }
      }