view src/java/de/intevation/mxd/reader/IReader.java @ 184:c79c3c6fc99a

Always save a symbol set, use the mapfile name as prefix for the symbol set and use the mapfile path to save the symbol set.
author raimund renkert <raimund.renkert@intevation.de>
date Wed, 20 Jul 2011 12:23:57 +0200
parents 9f74f4d36822
children df4e0946ef02
line wrap: on
line source
package de.intevation.mxd.reader;

import java.io.IOException;

import org.w3c.dom.Document;

/**
 * The interface to the MXD-Reader.
 *
 * @author <a href="mailto:raimund.renkert@intevation.de">Raimund Renkert</a>
 */
public interface IReader {
    /**
     * Initializes the reader component.
     */
    boolean init() throws IOException;

    /**
     * Method to perform actions at the of reader usage.
     */
    boolean shutdown() throws IOException;

    /**
     * Set the filename.
     */
    void setFilename(String name);

    /**
     * Read the content.
     */
    boolean read() throws Exception;

    /**
     * Request DOM Document containing the map data.
     */
    Document getMapDocument();
}
// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)