public <T extends TimeSeriesSerializer.DataPoint>void marshall(T record,PrintWriter writer) throws Exception {
  try {
    if (record == null) {
      _logger.warn("null event dropped");
    }
 else {
      Marshaller marshaller=marshallers.get();
      if (marshaller == null) {
        _logger.error("Unable to create XML marshaller");
      }
      marshaller.marshal(record,writer);
    }
  }
 catch (  JAXBException e) {
    _logger.error("Marshalling failed : ",e);
  }
}

public < T extends TimeSeriesSerializer . DataPoint > void marshall ( T record , PrintWriter writer ) throws Exception { try { if ( record == null ) { _logger . warn ( "null event dropped" ) ; } else { Marshaller marshaller = marshallers . get ( ) ; if ( marshaller == null ) { _logger . error ( "Unable to create XML marshaller" ) ; } marshaller . marshal ( record , writer ) ; } } catch ( JAXBException e ) { _logger . error ( "Marshalling failed : " , e ) ; } }
marshall each stat record
