svn-gvsig-desktop / trunk / libraries / libGPE / src / org / gvsig / gpe / parser / IGPEContentHandlerSFP0.java @ 19579
History | View | Annotate | Download (3.21 KB)
1 |
package org.gvsig.gpe.parser; |
---|---|
2 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
|
3 |
*
|
4 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
|
5 |
*
|
6 |
* This program is free software; you can redistribute it and/or
|
7 |
* modify it under the terms of the GNU General Public License
|
8 |
* as published by the Free Software Foundation; either version 2
|
9 |
* of the License, or (at your option) any later version.
|
10 |
*
|
11 |
* This program is distributed in the hope that it will be useful,
|
12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
14 |
* GNU General Public License for more details.
|
15 |
*
|
16 |
* You should have received a copy of the GNU General Public License
|
17 |
* along with this program; if not, write to the Free Software
|
18 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA.
|
19 |
*
|
20 |
* For more information, contact:
|
21 |
*
|
22 |
* Generalitat Valenciana
|
23 |
* Conselleria d'Infraestructures i Transport
|
24 |
* Av. Blasco Ib??ez, 50
|
25 |
* 46010 VALENCIA
|
26 |
* SPAIN
|
27 |
*
|
28 |
* +34 963862235
|
29 |
* gvsig@gva.es
|
30 |
* www.gvsig.gva.es
|
31 |
*
|
32 |
* or
|
33 |
*
|
34 |
* IVER T.I. S.A
|
35 |
* Salamanca 50
|
36 |
* 46005 Valencia
|
37 |
* Spain
|
38 |
*
|
39 |
* +34 963163400
|
40 |
* dac@iver.es
|
41 |
*/
|
42 |
/* CVS MESSAGES:
|
43 |
*
|
44 |
* $Id$
|
45 |
* $Log$
|
46 |
*
|
47 |
*/
|
48 |
/**
|
49 |
* @author Jorge Piera LLodr? (jorge.piera@iver.es)
|
50 |
*/
|
51 |
public interface IGPEContentHandlerSFP0 { |
52 |
|
53 |
/**
|
54 |
* This method indicates that the parser has found a curve.
|
55 |
* @param id
|
56 |
* curve identifier
|
57 |
* @param x
|
58 |
* X coordinate (n dimensions)
|
59 |
* @param y
|
60 |
* Y coordinate (n dimensions)
|
61 |
* @param z
|
62 |
* Z coordinate (n dimensions)
|
63 |
* @param srs
|
64 |
* Spatial reference system
|
65 |
* @return
|
66 |
* Consumer application object that represents a lineString
|
67 |
*/
|
68 |
public Object startCurve(String id, double[] x, double[] y, double[] z, String srs); |
69 |
|
70 |
/**
|
71 |
* This method indicates that the parser has found a curve.
|
72 |
* @param id
|
73 |
* curve identifier
|
74 |
* @param srs
|
75 |
* Spatial reference system
|
76 |
* @return
|
77 |
* Consumer application object that represents a lineString
|
78 |
*/
|
79 |
public Object startCurve(String id, String srs); |
80 |
|
81 |
/**
|
82 |
* It is thrown when the Curve has been completely parsed.
|
83 |
* @param Curve
|
84 |
* Consumer application object that represents a Curve
|
85 |
*/
|
86 |
public void endCurve(Object Curve); |
87 |
|
88 |
/**
|
89 |
* It adds a segment to a curve.
|
90 |
* @param segment
|
91 |
* The segment to add
|
92 |
* @param curve
|
93 |
* The curve
|
94 |
*/
|
95 |
public void addSegmentToCurve(Object segment, Object curve); |
96 |
|
97 |
/**
|
98 |
* This method indicates that the parser has found a multiCurve.
|
99 |
* @param id
|
100 |
* MultyCurve identifier
|
101 |
* @param srs
|
102 |
* Spatial reference system
|
103 |
* @return
|
104 |
* Consumer application object that represents a multiCurve
|
105 |
*/
|
106 |
public Object startMultiCurve(String id, String srs); |
107 |
|
108 |
/**
|
109 |
* It is thrown when the multiCurve has been completely parsed
|
110 |
* @param multiCurve
|
111 |
* Consumer application object that represents a multiCurve
|
112 |
*/
|
113 |
public void endMultiCurve(Object multiCurve); |
114 |
|
115 |
/**
|
116 |
* It is thrown to add a curve to one multiCurve.
|
117 |
* @param curve
|
118 |
* Consumer application object that represents a curve
|
119 |
* @param multiCurve
|
120 |
* Consumer application object that represents a multiCurve
|
121 |
*/
|
122 |
public void addCurveToMultiCurve(Object curve, Object multiCurve); |
123 |
|
124 |
|
125 |
} |