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: }