ingo@1022: /*
ingo@1022: * Copyright (c) 2010 by Intevation GmbH
ingo@1022: *
ingo@1022: * This program is free software under the LGPL (>=v2.1)
ingo@1022: * Read the file LGPL.txt coming with the software for details
ingo@1022: * or visit http://www.gnu.org/licenses/ if it does not exist.
ingo@1022: */
ingo@1022:
tim@402: package de.intevation.gnv.action.mapviewer.parser;
tim@402:
tim@953: import java.util.Collection;
tim@953:
sascha@683: import de.intevation.gnv.artifactdatabase.objects.map.MapService;
sascha@683:
tim@402: /**
tim@953: * Interfacedefinition for an XMl-parser of the MV-GNV-Interface requestdocument.
sascha@684: * @author Tim Englich
tim@402: */
tim@402: public interface ExternalCallParser {
tim@402:
sascha@681:
tim@953: /**
tim@953: * Returns the geometry which was parsed from the XML-document.
tim@953: * @return the geometry.
tim@953: */
tim@402: String getGeometry();
sascha@681:
tim@953: /**
tim@953: * Returns the srid which was parsed from the XML-document.
tim@953: * @return the srid.
tim@953: */
tim@402: String getSRS();
sascha@681:
tim@953: /**
tim@953: * Returns the mapservices which was parsed from the XML-document.
tim@953: * @return the mapservices.
tim@953: */
tim@402: Collection getMapServices();
sascha@681:
tim@953: /**
tim@953: * Does the parsing work.
tim@953: * @throws ExternalCallParserException
tim@953: */
tim@402: void parse() throws ExternalCallParserException;
tim@402: }