Statistics
| Revision:

root / trunk / libraries / libGPE-KML / src / warnings / IWarningsContainer.java @ 10637

History | View | Annotate | Download (2.5 KB)

1
package warnings;
2

    
3
import org.gvsig.exceptions.BaseException;
4
import org.gvsig.exceptions.ListBaseException;
5

    
6

    
7
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
8
 *
9
 * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
10
 *
11
 * This program is free software; you can redistribute it and/or
12
 * modify it under the terms of the GNU General Public License
13
 * as published by the Free Software Foundation; either version 2
14
 * of the License, or (at your option) any later version.
15
 *
16
 * This program is distributed in the hope that it will be useful,
17
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19
 * GNU General Public License for more details.
20
 *
21
 * You should have received a copy of the GNU General Public License
22
 * along with this program; if not, write to the Free Software
23
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
24
 *
25
 * For more information, contact:
26
 *
27
 *  Generalitat Valenciana
28
 *   Conselleria d'Infraestructures i Transport
29
 *   Av. Blasco Ib??ez, 50
30
 *   46010 VALENCIA
31
 *   SPAIN
32
 *
33
 *      +34 963862235
34
 *   gvsig@gva.es
35
 *      www.gvsig.gva.es
36
 *
37
 *    or
38
 *
39
 *   IVER T.I. S.A
40
 *   Salamanca 50
41
 *   46005 Valencia
42
 *   Spain
43
 *
44
 *   +34 963163400
45
 *   dac@iver.es
46
 */
47
/* CVS MESSAGES:
48
 *
49
 * $Id: IWarningsContainer.java 10637 2007-03-07 08:19:11Z jorpiell $
50
 * $Log$
51
 * Revision 1.1  2007-03-07 08:19:10  jorpiell
52
 * Pasadas las clases de KML de libGPE-GML a libGPE-KML
53
 *
54
 * Revision 1.1  2007/02/28 11:48:31  csanchez
55
 * *** empty log message ***
56
 *
57
 * Revision 1.1  2007/02/20 10:53:20  jorpiell
58
 * A?adidos los proyectos de kml y gml antiguos
59
 *
60
 * Revision 1.1  2007/02/12 13:49:18  jorpiell
61
 * A?adido el driver de KML
62
 *
63
 *
64
 */
65
/**
66
 * @author Jorge Piera Llodr? (piera_jor@gva.es)
67
 */
68
public interface IWarningsContainer {
69
        /**
70
         * This method return true if there aren't warnings else returns false 
71
         * @return boolean
72
         */
73
        public boolean areWarnings();
74
        /**
75
         * This method return the list of warnings parsing the file 
76
         * @return ArrayList of warnings
77
         */
78
        public ListBaseException getWarningList();
79
        
80
        /**
81
         * This method inserts a new warning into the list 
82
         * @args int new warning
83
         */
84
        public void setElement(BaseException war);
85
        /**
86
         * This method returns a warning from the list 
87
         * @args int index
88
         * @return int warning
89
         */
90
        public BaseException getElement(int index, ListBaseException war);
91
        
92
        /**
93
         * This method inserts a new warning list 
94
         * @args int new warning
95
         */
96
        public void setWarningList(ListBaseException war);
97
}