org.sdmxsource.sdmx.api.engine.WriterEngine Maven / Gradle / Ivy
/*******************************************************************************
* Copyright (c) 2013 Metadata Technology Ltd.
*
* All rights reserved. This program and the accompanying materials are made
* available under the terms of the GNU Lesser General Public License v 3.0
* which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/lgpl.html
*
* This file is part of the SDMX Component Library.
*
* The SDMX Component Library is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, either version 3 of the License,
* or (at your option) any later version.
*
* The SDMX Component Library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
* General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with The SDMX Component Library If not, see
* http://www.gnu.org/licenses/lgpl.
*
* Contributors:
* Metadata Technology - initial API and implementation
******************************************************************************/
package org.sdmxsource.sdmx.api.engine;
import org.sdmxsource.sdmx.api.model.header.HeaderBean;
/**
* A WriterEngine is capable of writing messages
*/
public interface WriterEngine {
/**
* (Optional) Writes a header to the message, any missing mandatory attributes are defaulted. If a header is required for a message, then this
* call should be the first call on a WriterEngine
*
* If this method is not called, and a message requires a header, a default header will be generated.
*
* @param header the header
*/
void writeHeader(HeaderBean header);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy