Statistics
| Revision:

root / trunk / docs / FMap / fmap-api / com / iver / cit / gvsig / fmap / write / FileEditionSourceAdapter.html @ 11445

History | View | Annotate | Download (14.5 KB)

1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
<!--NewPage-->
3
<HTML>
4
<HEAD>
5
<!-- Generated by javadoc (build 1.4.2_04) on Mon Feb 14 08:45:54 CET 2005 -->
6
<TITLE>
7
FileEditionSourceAdapter (FMap API)
8
</TITLE>
9

    
10
<META NAME="keywords" CONTENT="com.iver.cit.gvsig.fmap.write.FileEditionSourceAdapter class">
11

    
12
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style">
13

    
14
<SCRIPT type="text/javascript">
15
function windowTitle()
16
{
17
    parent.document.title="FileEditionSourceAdapter (FMap API)";
18
}
19
</SCRIPT>
20

    
21
</HEAD>
22

    
23
<BODY BGCOLOR="white" onload="windowTitle();">
24

    
25

    
26
<!-- ========= START OF TOP NAVBAR ======= -->
27
<A NAME="navbar_top"><!-- --></A>
28
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
29
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
30
<TR>
31
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
32
<A NAME="navbar_top_firstrow"><!-- --></A>
33
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
34
  <TR ALIGN="center" VALIGN="top">
35
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
36
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
37
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
38
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
39
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
40
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
41
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
42
  </TR>
43
</TABLE>
44
</TD>
45
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
46
</EM>
47
</TD>
48
</TR>
49

    
50
<TR>
51
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
52
&nbsp;<A HREF="../../../../../../com/iver/cit/gvsig/fmap/write/ExtensibleFile.html" title="class in com.iver.cit.gvsig.fmap.write"><B>PREV CLASS</B></A>&nbsp;
53
&nbsp;<A HREF="../../../../../../com/iver/cit/gvsig/fmap/write/GeometryHandlerFactory.html" title="class in com.iver.cit.gvsig.fmap.write"><B>NEXT CLASS</B></A></FONT></TD>
54
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
55
  <A HREF="../../../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
56
&nbsp;<A HREF="FileEditionSourceAdapter.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
57
&nbsp;<SCRIPT type="text/javascript">
58
  <!--
59
  if(window==top) {
60
    document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
61
  }
62
  //-->
63
</SCRIPT>
64
<NOSCRIPT>
65
  <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
66
</NOSCRIPT>
67

    
68
</FONT></TD>
69
</TR>
70
<TR>
71
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
72
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
73
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
74
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
75
</TR>
76
</TABLE>
77
<A NAME="skip-navbar_top"></A>
78
<!-- ========= END OF TOP NAVBAR ========= -->
79

    
80
<HR>
81
<!-- ======== START OF CLASS DATA ======== -->
82
<H2>
83
<FONT SIZE="-1">
84
com.iver.cit.gvsig.fmap.write</FONT>
85
<BR>
86
Class FileEditionSourceAdapter</H2>
87
<PRE>
88
java.lang.Object
89
  <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../../com/iver/cit/gvsig/fmap/write/EditionSourceAdapter.html" title="class in com.iver.cit.gvsig.fmap.write">com.iver.cit.gvsig.fmap.write.EditionSourceAdapter</A>
90
      <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by"><B>com.iver.cit.gvsig.fmap.write.FileEditionSourceAdapter</B>
91
</PRE>
92
<DL>
93
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../../com/iver/cit/gvsig/fmap/write/geometron/EditableFeatureSource.html" title="interface in com.iver.cit.gvsig.fmap.write.geometron">EditableFeatureSource</A>, <A HREF="../../../../../../com/iver/cit/gvsig/fmap/layers/ReadableVectorial.html" title="interface in com.iver.cit.gvsig.fmap.layers">ReadableVectorial</A>, <A HREF="../../../../../../com/iver/cit/gvsig/fmap/write/WritableOperations.html" title="interface in com.iver.cit.gvsig.fmap.write">WritableOperations</A></DD>
94
</DL>
95
<HR>
96
<DL>
97
<DT>public class <B>FileEditionSourceAdapter</B><DT>extends <A HREF="../../../../../../com/iver/cit/gvsig/fmap/write/EditionSourceAdapter.html" title="class in com.iver.cit.gvsig.fmap.write">EditionSourceAdapter</A></DL>
98

    
99
<P>
100
Adapta la capa en edici?n m?s el bitset de geometr?as
101
 eliminadas m?s el fichero de figuras a?adidas al tema. Maneja las peticiones de WritableOperations de forma que a?ade los nuevos registros en un shapefile temporal, las eliminaciones las marca en un bitset y las modificaci?nes consisten en una eliminaci?n y una inserci?n en el fichero temporal. El fichero temporal puede crecer indefinidamente con las inserciones, eliminaciones y para eso se da la opci?n de compactar dicho fichero
102
<P>
103

    
104
<P>
105
<HR>
106

    
107
<P>
108
<!-- ======== NESTED CLASS SUMMARY ======== -->
109

    
110

    
111
<!-- =========== FIELD SUMMARY =========== -->
112

    
113

    
114
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
115

    
116
<A NAME="constructor_summary"><!-- --></A>
117
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
118
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
119
<TD COLSPAN=2><FONT SIZE="+2">
120
<B>Constructor Summary</B></FONT></TD>
121
</TR>
122
<TR BGCOLOR="white" CLASS="TableRowColor">
123
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/write/FileEditionSourceAdapter.html#FileEditionSourceAdapter()">FileEditionSourceAdapter</A></B>()</CODE>
124

    
125
<BR>
126
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
127
</TR>
128
</TABLE>
129
&nbsp;
130
<!-- ========== METHOD SUMMARY =========== -->
131

    
132
<A NAME="method_summary"><!-- --></A>
133
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
134
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
135
<TD COLSPAN=2><FONT SIZE="+2">
136
<B>Method Summary</B></FONT></TD>
137
</TR>
138
<TR BGCOLOR="white" CLASS="TableRowColor">
139
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
140
<CODE>&nbsp;void</CODE></FONT></TD>
141
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/write/FileEditionSourceAdapter.html#setHandler(com.iver.cit.gvsig.fmap.write.FileWriterDriver)">setHandler</A></B>(<A HREF="../../../../../../com/iver/cit/gvsig/fmap/write/FileWriterDriver.html" title="interface in com.iver.cit.gvsig.fmap.write">FileWriterDriver</A>&nbsp;handler)</CODE>
142

    
143
<BR>
144
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Establece el handler que recibir? los eventos GML con la llamada a toGML</TD>
145
</TR>
146
<TR BGCOLOR="white" CLASS="TableRowColor">
147
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
148
<CODE>&nbsp;void</CODE></FONT></TD>
149
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/write/FileEditionSourceAdapter.html#toGML()">toGML</A></B>()</CODE>
150

    
151
<BR>
152
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Env?a el contenido de la capa editada en GML al handler mediante eventos XML (GML)</TD>
153
</TR>
154
</TABLE>
155
&nbsp;<A NAME="methods_inherited_from_class_com.iver.cit.gvsig.fmap.write.EditionSourceAdapter"><!-- --></A>
156
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
157
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
158
<TD><B>Methods inherited from class com.iver.cit.gvsig.fmap.write.<A HREF="../../../../../../com/iver/cit/gvsig/fmap/write/EditionSourceAdapter.html" title="class in com.iver.cit.gvsig.fmap.write">EditionSourceAdapter</A></B></TD>
159
</TR>
160
<TR BGCOLOR="white" CLASS="TableRowColor">
161
<TD><CODE><A HREF="../../../../../../com/iver/cit/gvsig/fmap/write/EditionSourceAdapter.html#addGeometry(com.iver.cit.gvsig.fmap.core.IGeometry)">addGeometry</A>, <A HREF="../../../../../../com/iver/cit/gvsig/fmap/write/EditionSourceAdapter.html#compactar()">compactar</A>, <A HREF="../../../../../../com/iver/cit/gvsig/fmap/write/EditionSourceAdapter.html#deleteGeometry(int)">deleteGeometry</A>, <A HREF="../../../../../../com/iver/cit/gvsig/fmap/write/EditionSourceAdapter.html#getFullExtent()">getFullExtent</A>, <A HREF="../../../../../../com/iver/cit/gvsig/fmap/write/EditionSourceAdapter.html#getShape(int)">getShape</A>, <A HREF="../../../../../../com/iver/cit/gvsig/fmap/write/EditionSourceAdapter.html#getShapeCount()">getShapeCount</A>, <A HREF="../../../../../../com/iver/cit/gvsig/fmap/write/EditionSourceAdapter.html#getShapeType()">getShapeType</A>, <A HREF="../../../../../../com/iver/cit/gvsig/fmap/write/EditionSourceAdapter.html#modify(com.iver.cit.gvsig.fmap.core.IGeometry)">modify</A>, <A HREF="../../../../../../com/iver/cit/gvsig/fmap/write/EditionSourceAdapter.html#modifyGeometry(int, com.iver.cit.gvsig.fmap.core.IGeometry)">modifyGeometry</A>, <A HREF="../../../../../../com/iver/cit/gvsig/fmap/write/EditionSourceAdapter.html#setDeleted(int)">setDeleted</A>, <A HREF="../../../../../../com/iver/cit/gvsig/fmap/write/EditionSourceAdapter.html#setNotDeleted()">setNotDeleted</A>, <A HREF="../../../../../../com/iver/cit/gvsig/fmap/write/EditionSourceAdapter.html#setNotModified(int)">setNotModified</A>, <A HREF="../../../../../../com/iver/cit/gvsig/fmap/write/EditionSourceAdapter.html#start()">start</A>, <A HREF="../../../../../../com/iver/cit/gvsig/fmap/write/EditionSourceAdapter.html#stop()">stop</A>, <A HREF="../../../../../../com/iver/cit/gvsig/fmap/write/EditionSourceAdapter.html#undo()">undo</A></CODE></TD>
162
</TR>
163
</TABLE>
164
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
165
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
166
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
167
<TD><B>Methods inherited from class java.lang.Object</B></TD>
168
</TR>
169
<TR BGCOLOR="white" CLASS="TableRowColor">
170
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
171
</TR>
172
</TABLE>
173
&nbsp;
174
<P>
175

    
176
<!-- ============ FIELD DETAIL =========== -->
177

    
178

    
179
<!-- ========= CONSTRUCTOR DETAIL ======== -->
180

    
181
<A NAME="constructor_detail"><!-- --></A>
182
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
183
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
184
<TD COLSPAN=1><FONT SIZE="+2">
185
<B>Constructor Detail</B></FONT></TD>
186
</TR>
187
</TABLE>
188

    
189
<A NAME="FileEditionSourceAdapter()"><!-- --></A><H3>
190
FileEditionSourceAdapter</H3>
191
<PRE>
192
public <B>FileEditionSourceAdapter</B>()</PRE>
193
<DL>
194
</DL>
195

    
196
<!-- ============ METHOD DETAIL ========== -->
197

    
198
<A NAME="method_detail"><!-- --></A>
199
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
200
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
201
<TD COLSPAN=1><FONT SIZE="+2">
202
<B>Method Detail</B></FONT></TD>
203
</TR>
204
</TABLE>
205

    
206
<A NAME="toGML()"><!-- --></A><H3>
207
toGML</H3>
208
<PRE>
209
public void <B>toGML</B>()</PRE>
210
<DL>
211
<DD>Env?a el contenido de la capa editada en GML al handler mediante eventos XML (GML)
212
<P>
213
<DD><DL>
214
</DL>
215
</DD>
216
</DL>
217
<HR>
218

    
219
<A NAME="setHandler(com.iver.cit.gvsig.fmap.write.FileWriterDriver)"><!-- --></A><H3>
220
setHandler</H3>
221
<PRE>
222
public void <B>setHandler</B>(<A HREF="../../../../../../com/iver/cit/gvsig/fmap/write/FileWriterDriver.html" title="interface in com.iver.cit.gvsig.fmap.write">FileWriterDriver</A>&nbsp;handler)</PRE>
223
<DL>
224
<DD>Establece el handler que recibir? los eventos GML con la llamada a toGML
225
<P>
226
<DD><DL>
227
</DL>
228
</DD>
229
</DL>
230
<!-- ========= END OF CLASS DATA ========= -->
231
<HR>
232

    
233

    
234
<!-- ======= START OF BOTTOM NAVBAR ====== -->
235
<A NAME="navbar_bottom"><!-- --></A>
236
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
237
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
238
<TR>
239
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
240
<A NAME="navbar_bottom_firstrow"><!-- --></A>
241
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
242
  <TR ALIGN="center" VALIGN="top">
243
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
244
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
245
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
246
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
247
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
248
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
249
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
250
  </TR>
251
</TABLE>
252
</TD>
253
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
254
</EM>
255
</TD>
256
</TR>
257

    
258
<TR>
259
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
260
&nbsp;<A HREF="../../../../../../com/iver/cit/gvsig/fmap/write/ExtensibleFile.html" title="class in com.iver.cit.gvsig.fmap.write"><B>PREV CLASS</B></A>&nbsp;
261
&nbsp;<A HREF="../../../../../../com/iver/cit/gvsig/fmap/write/GeometryHandlerFactory.html" title="class in com.iver.cit.gvsig.fmap.write"><B>NEXT CLASS</B></A></FONT></TD>
262
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
263
  <A HREF="../../../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
264
&nbsp;<A HREF="FileEditionSourceAdapter.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
265
&nbsp;<SCRIPT type="text/javascript">
266
  <!--
267
  if(window==top) {
268
    document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
269
  }
270
  //-->
271
</SCRIPT>
272
<NOSCRIPT>
273
  <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
274
</NOSCRIPT>
275

    
276
</FONT></TD>
277
</TR>
278
<TR>
279
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
280
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
281
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
282
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
283
</TR>
284
</TABLE>
285
<A NAME="skip-navbar_bottom"></A>
286
<!-- ======== END OF BOTTOM NAVBAR ======= -->
287

    
288
<HR>
289

    
290
</BODY>
291
</HTML>