class StatisticsPersistenceProvider implements WorkspaceXMLPersistenceProvider {

    @Override
    public void writeXML(XMLStreamWriter writer, Workspace workspace) {<FILL_FUNCTION_BODY>}

    @Override
    public void readXML(XMLStreamReader reader, Workspace workspace) {
        StatisticsModelImpl statModel = workspace.getLookup().lookup(StatisticsModelImpl.class);
        try {
            statModel.readXML(reader);
        } catch (XMLStreamException ex) {
            throw new RuntimeException(ex);
        }
    }

    @Override
    public String getIdentifier() {
        return "statisticsmodel";
    }
}

        StatisticsModelImpl statModel = workspace.getLookup().lookup(StatisticsModelImpl.class);
        if (statModel != null) {
            try {
                statModel.writeXML(writer);
            } catch (XMLStreamException ex) {
                throw new RuntimeException(ex);
            }
        }
    
<no_super_class>