Revision 11309

View differences:

trunk/libraries/libRaster/src/org/gvsig/raster/dataset/io/rmf/RmfBlocksManager.java
1
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
2
 *
3
 * Copyright (C) 2007 IVER T.I. and Generalitat Valenciana.
4
 *
5
 * This program is free software; you can redistribute it and/or
6
 * modify it under the terms of the GNU General Public License
7
 * as published by the Free Software Foundation; either version 2
8
 * of the License, or (at your option) any later version.
9
 *
10
 * This program is distributed in the hope that it will be useful,
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 * GNU General Public License for more details.
14
 *
15
 * You should have received a copy of the GNU General Public License
16
 * along with this program; if not, write to the Free Software
17
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
18
 */
19
package org.gvsig.raster.dataset.io.rmf;
20

  
21
/**
22
 * Gestor para la escritura de bloques XML en el fichero RMF. Cada cliente que quiere
23
 * escribir en el se registrar? a traves de ClientRegister y esta clase ser? la encargada
24
 * de gestionar la lectura y escritura de bloques.
25
 *
26
 * 21-abr-2007
27
 * @author Nacho Brodin (nachobrodin@gmail.com)
28
 */
29
public class RmfBlocksManager extends ClientRegister implements IRmfBlock{
30
	public void setPath(String path) {
31
		
32
	}
33

  
34
	/*
35
	 *  (non-Javadoc)
36
	 * @see org.gvsig.raster.dataset.io.rmf.IRmfBlock#read()
37
	 */
38
	public void read() {
39
	}
40

  
41
	/*
42
	 *  (non-Javadoc)
43
	 * @see org.gvsig.raster.dataset.io.rmf.IRmfBlock#write()
44
	 */
45
	public void write() {
46
	}
47
}
0 48

  
trunk/libraries/libRaster/src/org/gvsig/raster/dataset/io/rmf/ClientRegister.java
1
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
2
 *
3
 * Copyright (C) 2007 IVER T.I. and Generalitat Valenciana.
4
 *
5
 * This program is free software; you can redistribute it and/or
6
 * modify it under the terms of the GNU General Public License
7
 * as published by the Free Software Foundation; either version 2
8
 * of the License, or (at your option) any later version.
9
 *
10
 * This program is distributed in the hope that it will be useful,
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 * GNU General Public License for more details.
14
 *
15
 * You should have received a copy of the GNU General Public License
16
 * along with this program; if not, write to the Free Software
17
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
18
 */
19
package org.gvsig.raster.dataset.io.rmf;
20

  
21
import java.util.ArrayList;
22

  
23
/**
24
 * 
25
 *
26
 * 21-abr-2007
27
 * @author Nacho Brodin (nachobrodin@gmail.com)
28
 */
29
public abstract class ClientRegister {
30

  
31
	private ArrayList clients = new ArrayList();
32
	
33
	public String addClient() {
34
		return null;
35
	}
36
	
37
	public void removeClient(String id) {
38
		
39
	}
40
	
41
	public String getClient(String id) {
42
		return null;
43
	}
44
	
45
	public void deleteAllClients() {
46
		
47
	}
48
}
0 49

  
trunk/libraries/libRaster/src/org/gvsig/raster/dataset/io/rmf/IRmfBlock.java
1
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
2
 *
3
 * Copyright (C) 2007 IVER T.I. and Generalitat Valenciana.
4
 *
5
 * This program is free software; you can redistribute it and/or
6
 * modify it under the terms of the GNU General Public License
7
 * as published by the Free Software Foundation; either version 2
8
 * of the License, or (at your option) any later version.
9
 *
10
 * This program is distributed in the hope that it will be useful,
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 * GNU General Public License for more details.
14
 *
15
 * You should have received a copy of the GNU General Public License
16
 * along with this program; if not, write to the Free Software
17
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
18
 */
19
package org.gvsig.raster.dataset.io.rmf;
20

  
21
/**
22
 * Interfaz que deben implementar las clases que escriben bloques XML en ficheros RMF.
23
 * Contiene m?todos para escribir y leer un bloque de informaci?n del fichero RMF. La clase
24
 * que implementa este interfaz es la encargada de serializar un objeto en cadenas XML y 
25
 * crear este desde cadenas XML. Esto lo har? a trav?s de los m?todos de este interfaz para
26
 * que el gestor de RMF pueda administrar la escritura y lectura del fichero.
27
 * 
28
 * 21-abr-2007
29
 * @author Nacho Brodin (nachobrodin@gmail.com)
30
 */
31
public interface IRmfBlock {
32
	
33
	public void read();
34
	
35
	public void write();
36
}
0 37

  

Also available in: Unified diff