root / trunk / libraries / libGPE-KML / src / org / gvsig / gpe / kml / parser / v21 / coordinates / IKmlCoordinatesIterator.java @ 21966
History | View | Annotate | Download (2.36 KB)
1 |
package org.gvsig.gpe.kml.parser.v21.coordinates; |
---|---|
2 |
|
3 |
import java.io.IOException; |
4 |
|
5 |
import javax.xml.namespace.QName; |
6 |
|
7 |
import org.gvsig.gpe.kml.parser.GPEDeafultKmlParser; |
8 |
import org.gvsig.gpe.parser.ICoordinateIterator; |
9 |
import org.gvsig.gpe.xml.stream.IXmlStreamReader; |
10 |
import org.gvsig.gpe.xml.stream.XmlStreamException; |
11 |
|
12 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
|
13 |
*
|
14 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
|
15 |
*
|
16 |
* This program is free software; you can redistribute it and/or
|
17 |
* modify it under the terms of the GNU General Public License
|
18 |
* as published by the Free Software Foundation; either version 2
|
19 |
* of the License, or (at your option) any later version.
|
20 |
*
|
21 |
* This program is distributed in the hope that it will be useful,
|
22 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
23 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
24 |
* GNU General Public License for more details.
|
25 |
*
|
26 |
* You should have received a copy of the GNU General Public License
|
27 |
* along with this program; if not, write to the Free Software
|
28 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA.
|
29 |
*
|
30 |
* For more information, contact:
|
31 |
*
|
32 |
* Generalitat Valenciana
|
33 |
* Conselleria d'Infraestructures i Transport
|
34 |
* Av. Blasco Ib??ez, 50
|
35 |
* 46010 VALENCIA
|
36 |
* SPAIN
|
37 |
*
|
38 |
* +34 963862235
|
39 |
* gvsig@gva.es
|
40 |
* www.gvsig.gva.es
|
41 |
*
|
42 |
* or
|
43 |
*
|
44 |
* IVER T.I. S.A
|
45 |
* Salamanca 50
|
46 |
* 46005 Valencia
|
47 |
* Spain
|
48 |
*
|
49 |
* +34 963163400
|
50 |
* dac@iver.es
|
51 |
*/
|
52 |
/* CVS MESSAGES:
|
53 |
*
|
54 |
* $Id$
|
55 |
* $Log$
|
56 |
*
|
57 |
*/
|
58 |
/**
|
59 |
* @author Jorge Piera Llodr? (jorge.piera@iver.es)
|
60 |
*/
|
61 |
public interface IKmlCoordinatesIterator extends ICoordinateIterator { |
62 |
|
63 |
/**
|
64 |
* It initializes a coordinates iterator and put the
|
65 |
* parsing pointer in the specified tag
|
66 |
* @param parser
|
67 |
* The XML parser
|
68 |
* @param handler
|
69 |
* The GPE parser that contains the content handler and
|
70 |
* the error handler
|
71 |
* @param lastTag
|
72 |
* The last tag
|
73 |
* @throws XmlStreamException
|
74 |
* @throws IOException
|
75 |
*/
|
76 |
public void initialize(IXmlStreamReader parser,GPEDeafultKmlParser handler,QName lastTag) throws XmlStreamException, IOException; |
77 |
|
78 |
/**
|
79 |
* This method advances the stream reader until the last
|
80 |
* tag of the coordinates iterator.
|
81 |
*/
|
82 |
public void parseAll()throws XmlStreamException; |
83 |
} |