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 :