ingo@1115: /* ingo@1115: * Copyright (c) 2010 by Intevation GmbH ingo@1115: * ingo@1115: * This program is free software under the LGPL (>=v2.1) ingo@1115: * Read the file LGPL.txt coming with the software for details ingo@1115: * or visit http://www.gnu.org/licenses/ if it does not exist. ingo@1115: */ ingo@1115: ingo@626: package de.intevation.gnv.state; ingo@626: ingo@626: import java.io.Serializable; ingo@626: ingo@626: /** ingo@796: * This interface defines basic methods which are necessary for exports. ingo@796: * sascha@780: * @author Ingo Weinzierl ingo@626: */ ingo@626: public interface ExportMode ingo@626: extends Serializable ingo@626: { ingo@796: /** ingo@796: * Return the export name (e.g. pdf, svg, image). ingo@796: * ingo@796: * @return the export name. ingo@796: */ ingo@626: public String getName(); ingo@796: ingo@796: /** ingo@796: * Return the description for this export. ingo@796: * ingo@796: * @return the export description. ingo@796: */ ingo@626: public String getDescription(); ingo@796: ingo@796: /** ingo@796: * Returns the mime type used by this export. ingo@796: * ingo@796: * @return export's mimetype. ingo@796: */ ingo@626: public String getMimeType(); ingo@626: } ingo@796: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :