teichmann@5863: /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde teichmann@5863: * Software engineering by Intevation GmbH teichmann@5863: * teichmann@5994: * This file is Free Software under the GNU AGPL (>=v3) teichmann@5863: * and comes with ABSOLUTELY NO WARRANTY! Check out the teichmann@5994: * documentation coming with Dive4Elements River for details. teichmann@5863: */ teichmann@5863: teichmann@5831: package org.dive4elements.river.themes; ingo@340: ingo@340: import org.w3c.dom.Document; ingo@340: ingo@340: /** ingo@340: * @author Ingo Weinzierl ingo@340: */ ingo@340: public interface Theme { ingo@340: ingo@340: /** ingo@340: * Returns the name of the theme. ingo@340: * ingo@340: * @return the name of the theme. ingo@340: */ ingo@340: String getName(); ingo@340: ingo@340: String getDescription(); ingo@340: ingo@1668: void setFacet(String facet); ingo@1668: ingo@1668: void setIndex(int index); ingo@1668: ingo@340: /** ingo@340: * Dumps the theme to XML. ingo@340: * ingo@340: * @return a document. ingo@340: */ ingo@340: Document toXML(); gernotbelger@9555: }