annotate gnv/src/main/java/de/intevation/gnv/action/mapviewer/parser/ExternalCallParser.java @ 1022:28a0628b11b0

Added license file and license header. gnv/trunk@1258 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 02 Nov 2010 17:15:08 +0000
parents 4b64b4d1f0cf
children
rev   line source
1022
28a0628b11b0 Added license file and license header.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 953
diff changeset
1 /*
28a0628b11b0 Added license file and license header.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 953
diff changeset
2 * Copyright (c) 2010 by Intevation GmbH
28a0628b11b0 Added license file and license header.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 953
diff changeset
3 *
28a0628b11b0 Added license file and license header.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 953
diff changeset
4 * This program is free software under the LGPL (>=v2.1)
28a0628b11b0 Added license file and license header.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 953
diff changeset
5 * Read the file LGPL.txt coming with the software for details
28a0628b11b0 Added license file and license header.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 953
diff changeset
6 * or visit http://www.gnu.org/licenses/ if it does not exist.
28a0628b11b0 Added license file and license header.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 953
diff changeset
7 */
28a0628b11b0 Added license file and license header.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 953
diff changeset
8
402
b88e881e8e94 Added the first Implementation (not complete and not ready to use) for the Interface from the MapViewer to the GNV
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
9 package de.intevation.gnv.action.mapviewer.parser;
b88e881e8e94 Added the first Implementation (not complete and not ready to use) for the Interface from the MapViewer to the GNV
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
10
953
4b64b4d1f0cf Add more Javadocs
Tim Englich <tim.englich@intevation.de>
parents: 684
diff changeset
11 import java.util.Collection;
4b64b4d1f0cf Add more Javadocs
Tim Englich <tim.englich@intevation.de>
parents: 684
diff changeset
12
683
d49e8695786c Ordered imports. Removed needless imports. Removed empty headers.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 681
diff changeset
13 import de.intevation.gnv.artifactdatabase.objects.map.MapService;
d49e8695786c Ordered imports. Removed needless imports. Removed empty headers.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 681
diff changeset
14
402
b88e881e8e94 Added the first Implementation (not complete and not ready to use) for the Interface from the MapViewer to the GNV
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
15 /**
953
4b64b4d1f0cf Add more Javadocs
Tim Englich <tim.englich@intevation.de>
parents: 684
diff changeset
16 * Interfacedefinition for an XMl-parser of the MV-GNV-Interface requestdocument.
684
57fa8019fbdc Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 683
diff changeset
17 * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a>
402
b88e881e8e94 Added the first Implementation (not complete and not ready to use) for the Interface from the MapViewer to the GNV
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
18 */
b88e881e8e94 Added the first Implementation (not complete and not ready to use) for the Interface from the MapViewer to the GNV
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
19 public interface ExternalCallParser {
b88e881e8e94 Added the first Implementation (not complete and not ready to use) for the Interface from the MapViewer to the GNV
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
20
681
15ac78a91d1b Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 402
diff changeset
21
953
4b64b4d1f0cf Add more Javadocs
Tim Englich <tim.englich@intevation.de>
parents: 684
diff changeset
22 /**
4b64b4d1f0cf Add more Javadocs
Tim Englich <tim.englich@intevation.de>
parents: 684
diff changeset
23 * Returns the geometry which was parsed from the XML-document.
4b64b4d1f0cf Add more Javadocs
Tim Englich <tim.englich@intevation.de>
parents: 684
diff changeset
24 * @return the geometry.
4b64b4d1f0cf Add more Javadocs
Tim Englich <tim.englich@intevation.de>
parents: 684
diff changeset
25 */
402
b88e881e8e94 Added the first Implementation (not complete and not ready to use) for the Interface from the MapViewer to the GNV
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
26 String getGeometry();
681
15ac78a91d1b Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 402
diff changeset
27
953
4b64b4d1f0cf Add more Javadocs
Tim Englich <tim.englich@intevation.de>
parents: 684
diff changeset
28 /**
4b64b4d1f0cf Add more Javadocs
Tim Englich <tim.englich@intevation.de>
parents: 684
diff changeset
29 * Returns the srid which was parsed from the XML-document.
4b64b4d1f0cf Add more Javadocs
Tim Englich <tim.englich@intevation.de>
parents: 684
diff changeset
30 * @return the srid.
4b64b4d1f0cf Add more Javadocs
Tim Englich <tim.englich@intevation.de>
parents: 684
diff changeset
31 */
402
b88e881e8e94 Added the first Implementation (not complete and not ready to use) for the Interface from the MapViewer to the GNV
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
32 String getSRS();
681
15ac78a91d1b Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 402
diff changeset
33
953
4b64b4d1f0cf Add more Javadocs
Tim Englich <tim.englich@intevation.de>
parents: 684
diff changeset
34 /**
4b64b4d1f0cf Add more Javadocs
Tim Englich <tim.englich@intevation.de>
parents: 684
diff changeset
35 * Returns the mapservices which was parsed from the XML-document.
4b64b4d1f0cf Add more Javadocs
Tim Englich <tim.englich@intevation.de>
parents: 684
diff changeset
36 * @return the mapservices.
4b64b4d1f0cf Add more Javadocs
Tim Englich <tim.englich@intevation.de>
parents: 684
diff changeset
37 */
402
b88e881e8e94 Added the first Implementation (not complete and not ready to use) for the Interface from the MapViewer to the GNV
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
38 Collection<MapService> getMapServices();
681
15ac78a91d1b Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 402
diff changeset
39
953
4b64b4d1f0cf Add more Javadocs
Tim Englich <tim.englich@intevation.de>
parents: 684
diff changeset
40 /**
4b64b4d1f0cf Add more Javadocs
Tim Englich <tim.englich@intevation.de>
parents: 684
diff changeset
41 * Does the parsing work.
4b64b4d1f0cf Add more Javadocs
Tim Englich <tim.englich@intevation.de>
parents: 684
diff changeset
42 * @throws ExternalCallParserException
4b64b4d1f0cf Add more Javadocs
Tim Englich <tim.englich@intevation.de>
parents: 684
diff changeset
43 */
402
b88e881e8e94 Added the first Implementation (not complete and not ready to use) for the Interface from the MapViewer to the GNV
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
44 void parse() throws ExternalCallParserException;
b88e881e8e94 Added the first Implementation (not complete and not ready to use) for the Interface from the MapViewer to the GNV
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
45 }

http://dive4elements.wald.intevation.org