root / trunk / libraries / libGPE / src / org / gvsig / gpe / IGPEContentHandler.java @ 11112
History | View | Annotate | Download (3 KB)
1 | 10551 | csanchez | package org.gvsig.gpe; |
---|---|---|---|
2 | |||
3 | import java.awt.geom.Rectangle2D; |
||
4 | |||
5 | /* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
|
||
6 | *
|
||
7 | * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
|
||
8 | *
|
||
9 | * This program is free software; you can redistribute it and/or
|
||
10 | * modify it under the terms of the GNU General Public License
|
||
11 | * as published by the Free Software Foundation; either version 2
|
||
12 | * of the License, or (at your option) any later version.
|
||
13 | *
|
||
14 | * This program is distributed in the hope that it will be useful,
|
||
15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
17 | * GNU General Public License for more details.
|
||
18 | *
|
||
19 | * You should have received a copy of the GNU General Public License
|
||
20 | * along with this program; if not, write to the Free Software
|
||
21 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA.
|
||
22 | *
|
||
23 | * For more information, contact:
|
||
24 | *
|
||
25 | * Generalitat Valenciana
|
||
26 | * Conselleria d'Infraestructures i Transport
|
||
27 | * Av. Blasco Ib??ez, 50
|
||
28 | * 46010 VALENCIA
|
||
29 | * SPAIN
|
||
30 | *
|
||
31 | * +34 963862235
|
||
32 | * gvsig@gva.es
|
||
33 | * www.gvsig.gva.es
|
||
34 | *
|
||
35 | * or
|
||
36 | *
|
||
37 | * IVER T.I. S.A
|
||
38 | * Salamanca 50
|
||
39 | * 46005 Valencia
|
||
40 | * Spain
|
||
41 | *
|
||
42 | * +34 963163400
|
||
43 | * dac@iver.es
|
||
44 | */
|
||
45 | /* CVS MESSAGES:
|
||
46 | *
|
||
47 | * $Id$
|
||
48 | * $Log$
|
||
49 | 11112 | jorpiell | * Revision 1.2 2007-04-11 07:35:43 jorpiell
|
50 | * Se ha actualizado despu?s de mirar la especificaci?n de GML 2.x. Faltan las geometr?as multiples
|
||
51 | *
|
||
52 | * Revision 1.1 2007/02/28 11:52:06 csanchez
|
||
53 | 10551 | csanchez | * Nueva libreria para el motor de persistencia GML
|
54 | *
|
||
55 | *
|
||
56 | */
|
||
57 | /**
|
||
58 | * @author Carlos S?nchez Peri??n (sanchez_carper@gva.es)
|
||
59 | */
|
||
60 | public interface IGPEContentHandler { |
||
61 | 11112 | jorpiell | |
62 | public Object startLayer(Object parent, Object bBox, String id, String name, String description); |
||
63 | 10551 | csanchez | |
64 | 11112 | jorpiell | public void endLayer(Object layer); |
65 | |||
66 | public Object startElement(Object parent, String name, Object value, Object type); |
||
67 | |||
68 | public void endElement(Object element); |
||
69 | |||
70 | public Object startBbox(double[] x, double[] y, double[] z, String id, String srs); |
||
71 | |||
72 | public void endBbox(Object bbox); |
||
73 | |||
74 | public Object startPoint(double x, double y, double z, String id, String srs); |
||
75 | |||
76 | public void endPoint(Object point); |
||
77 | |||
78 | public Object startLineString(double x, double y, double z, String id, String srs); |
||
79 | |||
80 | public void endLineString(Object line); |
||
81 | |||
82 | public Object startLinearRing(double x, double y, double z, String id, String srs); |
||
83 | |||
84 | public void endLinearRing(Object linearRing); |
||
85 | |||
86 | public Object startPolygon(double x, double y, double z, String id, String srs); |
||
87 | |||
88 | public void endPolygon(Object polygon); |
||
89 | |||
90 | public void addInnerBoundary(Object polygon,Object linearRing); |
||
91 | |||
92 | public void addOuterBoundary(Object polygon,Object linearRing); |
||
93 | |||
94 | public boolean isViewInBox(Object bbox, Object view); |
||
95 | |||
96 | public boolean isGeometryInBox(Object bbox, Object geometry); |
||
97 | |||
98 | public void addFeature(Object layer,Object feature); |
||
99 | |||
100 | public void addBbox(Object item,Object bbox); |
||
101 | |||
102 | public void addElement(Object feature,Object element); |
||
103 | |||
104 | public void addGeometry(Object feature, Object geometry); |
||
105 | 10551 | csanchez | |
106 | |||
107 | } |