Mercurial > mxd2map
view src/java/de/intevation/mxd/reader/IReader.java @ 247:30e10eb9ac68
Print out a message if an empty layer is not written to the mapfile.
author | raimund renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 10 Aug 2011 13:23:29 +0200 |
parents | df4e0946ef02 |
children |
line wrap: on
line source
/* * Copyright (c) 2011 by Intevation GmbH, Germany <info@intevation.de> * * This file is part of MXD2map. * * This program is free software under the LGPL (>=v2.1) * Read the file LICENCE.txt coming with the software for details * or visit http://www.gnu.org/licenses/ if it does not exist. * * MXD2map has been developed on behalf of the * Bundesamt fuer Seeschifffahrt und Hydrographie (BSH) in Hamburg * by Intevation GmbH. * * Authors: * Raimund Renkert <raimund.renkert@intevation.de> * Bjoern Schilberg <bjoern.schilberg@intevation.de> * Stephan Holl <stephan.holl@intevation.de> */ 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 :