Revision 15558

View differences:

trunk/applications/appCatalogAndGazetteerClient/design/cvs/Root
1
:extssh:jorpiell@www.gvsig.org:/var/lib/cvs-gvSIG
0 2

  
trunk/applications/appCatalogAndGazetteerClient/design/cvs/Entries
1
/catalogo.zuml/1.1/Tue Jan 10 09:32:48 2006/-kb/TCatalogYNomenclator_v1_1_0_1005
2
/gazetteer.zuml/1.1/Tue Jan 10 09:32:48 2006/-kb/TCatalogYNomenclator_v1_1_0_1005
0 3

  
trunk/applications/appCatalogAndGazetteerClient/design/cvs/Tag
1
TCatalogYNomenclator_v1_1_0_1005
0 2

  
trunk/applications/appCatalogAndGazetteerClient/design/cvs/Repository
1
gvSIG-project/applications/appCatalogYNomenclatorClient/design
0 2

  
trunk/applications/appCatalogAndGazetteerClient/servers/cvs/Tag
1
TCatalogYNomenclator_v1_1_0_1005
0 2

  
trunk/applications/appCatalogAndGazetteerClient/servers/cvs/Repository
1
gvSIG-project/applications/appCatalogYNomenclatorClient/servers
0 2

  
trunk/applications/appCatalogAndGazetteerClient/servers/cvs/Root
1
:extssh:jorpiell@www.gvsig.org:/var/lib/cvs-gvSIG
0 2

  
trunk/applications/appCatalogAndGazetteerClient/servers/cvs/Entries
1
/CatalogServers.txt/1.2/Wed Apr 12 17:57:39 2006//TCatalogYNomenclator_v1_1_0_1005
2
/FoundServers/1.2.10.1/Wed Nov 15 00:08:08 2006/-kb/TCatalogYNomenclator_v1_1_0_1005
3
/GazetteerServers.txt/1.2/Wed Mar  1 13:23:20 2006//TCatalogYNomenclator_v1_1_0_1005
0 4

  
trunk/applications/appCatalogAndGazetteerClient/servers/CatalogServers.txt
1
indexgeo.net:5511/act
2
mapas.euitto.upm.es:2100
3
sercartlin:2100
4
http://idee.unizar.es/SRW/servlet/search/SRW
5
http://tweed.lib.ed.ac.uk:8080/elf/search/southampton
6
http://tweed.lib.ed.ac.uk:8080/elf/search/biome
7
http://indicio.demo.galdosinc.com/indicio/csw
8
http://udktest.its-technidata.de:8082/wwwudk/CSWUDKSOAPServlet
9
http://sercartlin:8080/deegree/ogcwebservice
10
http://delta.icc.es/indicio/csw
11
gruposigp2:8080/deegree-csw/services
12
http://www.idee.es/csw/servlet/cswservlet
1
http://localhost:8080/geonetwork/srv/en/csw
trunk/applications/appCatalogAndGazetteerClient/servers/GazetteerServers.txt
1
http://sercartlin:8080/geoserver/wfs
2
http://middleware.alexandria.ucsb.edu:8080/gaz/adlgaz/dispatch
3
http://gnstaging.esri.com/gazetteer/Gazetteer
4
http://www.geoportal-idec.net/gestor/webservices/idec_ws.php
5
http://demo.deegree.org:8080/gazetteer/wfs-g
6
http://gruposigp2:8080/deegree-wfsg/wfs-g
7
http://193.144.250.29/webservices/services/IDEC_GeoServeisPort
1
http://inspire.cop.gva.es/deegree/wfsg
trunk/applications/appCatalogAndGazetteerClient/.cvsignore
1 1
dist
2
bin
3
bin-test
trunk/applications/appCatalogAndGazetteerClient/.settings/org.eclipse.core.runtime.prefs
1
#Wed Jan 11 12:56:32 CET 2006
1
#Mon Jul 23 13:59:18 CEST 2007
2 2
eclipse.preferences.version=1
3
instance/org.eclipse.core.net/org.eclipse.core.net.hasMigrated=true
3 4
line.separator=\n
trunk/applications/appCatalogAndGazetteerClient/.settings/cvs/Tag
1
TCatalogYNomenclator_v1_1_0_1005
0 2

  
trunk/applications/appCatalogAndGazetteerClient/.settings/cvs/Repository
1
gvSIG-project/applications/appCatalogYNomenclatorClient/.settings
0 2

  
trunk/applications/appCatalogAndGazetteerClient/.settings/cvs/Root
1
:extssh:jorpiell@www.gvsig.org:/var/lib/cvs-gvSIG
0 2

  
trunk/applications/appCatalogAndGazetteerClient/.settings/cvs/Entries
1
/org.eclipse.core.resources.prefs/1.1/Wed Jan 11 12:29:32 2006//TCatalogYNomenclator_v1_1_0_1005
2
/org.eclipse.core.runtime.prefs/1.1/Wed Jan 11 12:29:32 2006//TCatalogYNomenclator_v1_1_0_1005
0 3

  
trunk/applications/appCatalogAndGazetteerClient/build.xml
1
<project name="appCatalogAndGazetteerClient" default="build-for-eclipse" basedir=".">
1
<project name="Generar extension en Andami" default="build-for-eclipse" basedir=".">
2 2
    <description>
3 3
        Instala el plugin en Andami
4 4
    </description>
5 5
  <!-- set global properties for this build -->
6
	<import file="../binaries/ant/utilities.xml"/>
7 6
	<property name="fmap" location="../libFMap"/>
8 7
	<property name="andami" location="../_fwAndami"/>
9 8
	<property name="build" location="bin"/>
10 9
	<property name="src" location="src"/>
11
	<property name="build-test" location="bin-test"/>
12
	<property name="src-test" location="src-test"/>
13 10
	<property name="dist" location="dist"/>
14 11
	<property name="lib" location="lib"/>
15 12
	<property name="andamiLibs" location="${andami}/lib"/>
16 13
	<property name="targetDir" location="../extCatalogYNomenclator/dist/lib"/>
17 14
	<property name="jarName" value="catCliProto.jar"/>
15
	<property name="compile-classpath" value="${lib}/a2j_v2-2.0.9.jar:${lib}/a2jruntime.jar:${lib}/activation.jar:${lib}/commons-beanutils.jar:${lib}/commons-codec.jar:${lib}/commons-httpclient-2.0.2.jar:${lib}/commons-logging.jar:${lib}/cql-java-1.0.0.jar:${lib}/junit.jar:${lib}/jzkit2_core-2.0.0.jar:${lib}/jzkit2_z3950_plugin-2.0.0.jar:${lib}/log4j-1.2.4.jar:${lib}/mail.jar:${lib}/soap.jar:${lib}/ostermillerutils_1_04_03_for_java_1_4.jar:${lib}/spring.jar:${lib}/xalan.jar:${lib}/amic-util.jar:${andamiLibs}/xerces_2_5_0.jar:${andamiLibs}/iver-utiles.jar:${andamiLibs}/gvsig-i18n.jar"/>
16
	<property name="JavaSourceVersion" value="1.4"/>
17
	<property name="JavaTargetVersion" value="1.4"/>
18 18

  
19 19

  
20 20
  <target name="init">
......
45 45
  </target>
46 46

  
47 47
	<target name="compile">
48
		<antcall target="gvSIG-import-build-number"/>
49 48
		<mkdir dir="${build}"/>
50
		<loadEclipseClasspath project="${basedir}"/>
51
		<gvSIG-javac
52
			classpath="${eclipseClasspath}"/>
49
		<javac
50
				srcdir="${src}"
51
				destdir="${build}"
52
	    		source="${JavaSourceVersion}"
53
				target="${JavaTargetVersion}"
54
				debug="${debug}"
55
				debuglevel="${debuglevel}"
56
				classpath="${compile-classpath}"/>
57

  
53 58
	</target>
54

  
59
	
55 60
	<target name="create-jar">
56 61
		<mkdir dir="${dist}" />
57 62
	    <jar jarfile="${dist}/${jarName}" basedir="${build}"/>
58 63
	</target>
59

  
64
	
60 65
	<target name="move-to-targetDir">
61 66
		<mkdir dir="${targetDir}" />
62 67
	  	<move todir="${targetDir}">
......
73 78
    </delete>
74 79
  </target>
75 80

  
76
	<target name="run-tests" depends="batch-build,compile-tests">
77
		<antcall target="generic-run-tests">
78
			<param name="TestSuite.Name" value="es.gva.cit.catalogClient.AllTests"/>
79
		</antcall>
80
	</target>
81 81
</project>
82 82

  
trunk/applications/appCatalogAndGazetteerClient/text.properties
127 127
inteligentSearchAscii=Todas las formas de la palabra
128 128
reproyectar_aviso=La proyecci\u00F3n de la capa no es igual que la de la vista.\nAVISO\: Puede ser inexacto con algunas transformaciones.\nPor favor, lea la documentaci\u00F3n.
129 129
reproyectar_pregunta=\u00BFDesea reproyectar?
130
elementName=ElementName
131
propertiesNameWindow=Ventana de propiedades
trunk/applications/appCatalogAndGazetteerClient/.classpath
14 14
	<classpathentry kind="lib" path="lib/xalan.jar"/>
15 15
	<classpathentry kind="lib" path="lib/amic-util.jar"/>
16 16
	<classpathentry kind="lib" path="/_fwAndami/lib/xerces_2_5_0.jar"/>
17
	<classpathentry kind="lib" path="/_fwAndami/lib/iver-utiles.jar" sourcepath="/Utiles/src"/>
17
	<classpathentry kind="lib" path="/_fwAndami/lib/iver-utiles.jar" sourcepath="/libIverUtiles"/>
18 18
	<classpathentry kind="lib" path="/_fwAndami/lib/gvsig-i18n.jar"/>
19 19
	<classpathentry kind="lib" path="/_fwAndami/lib/xml-apis.jar"/>
20 20
	<classpathentry kind="lib" path="lib/a2j_v2-2.0.9.jar"/>
......
24 24
	<classpathentry kind="lib" path="lib/jzkit2_z3950_plugin-2.0.0.jar" sourcepath="E:/classpath/jzkit2/jzkit2_z3950_plugin/src/java"/>
25 25
	<classpathentry kind="lib" path="lib/spring.jar"/>
26 26
	<classpathentry kind="lib" path="lib/origin_MODIFIED.jar"/>
27
	<classpathentry kind="src" output="bin-test" path="src-test"/>
28
	<classpathentry kind="var" path="JUNIT_HOME/junit.jar"/>
27
	<classpathentry kind="src" path="src-test"/>
28
	<classpathentry kind="var" path="JUNIT_HOME/junit.jar" sourcepath="ECLIPSE_HOME/plugins/org.eclipse.jdt.source_3.1.1/src/org.junit_3.8.1/junitsrc.zip"/>
29
	<classpathentry kind="lib" path="/libFMap/lib/remote-clients.jar"/>
30
	<classpathentry kind="lib" path="/libFMap/lib/kxml2.jar"/>
31
	<classpathentry kind="lib" path="/libFMap/lib/jts-1.8.jar"/>
32
	<classpathentry kind="lib" path="/libFMap/lib/jtsio-1.8.jar"/>
33
	<classpathentry kind="lib" path="/libFMap/lib/org.gvsig.exceptions.jar"/>
29 34
	<classpathentry kind="output" path="bin"/>
30 35
</classpath>
trunk/applications/appCatalogAndGazetteerClient/documents/cvs/Entries
1
/CatalogDoc.sxw/1.1/Wed Jun 15 07:54:40 2005/-kb/TCatalogYNomenclator_v1_1_0_1005
0 2

  
trunk/applications/appCatalogAndGazetteerClient/documents/cvs/Tag
1
TCatalogYNomenclator_v1_1_0_1005
0 2

  
trunk/applications/appCatalogAndGazetteerClient/documents/cvs/Repository
1
gvSIG-project/applications/appCatalogYNomenclatorClient/documents
0 2

  
trunk/applications/appCatalogAndGazetteerClient/documents/cvs/Root
1
:extssh:jorpiell@www.gvsig.org:/var/lib/cvs-gvSIG
0 2

  
trunk/applications/appCatalogAndGazetteerClient/.project
1 1
<?xml version="1.0" encoding="UTF-8"?>
2 2
<projectDescription>
3
	<name>appCatalogAndGazetteerClient</name>
3
	<name>CatalogClientPrototype</name>
4 4
	<comment></comment>
5 5
	<projects>
6 6
	</projects>
......
10 10
			<arguments>
11 11
			</arguments>
12 12
		</buildCommand>
13
		<buildCommand>
14
			<name>de.loskutov.FileSync.FSBuilder</name>
15
			<arguments>
16
			</arguments>
17
		</buildCommand>
18 13
	</buildSpec>
19 14
	<natures>
20 15
		<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
trunk/applications/appCatalogAndGazetteerClient/src-test/es/gva/cit/catalog/drivers/ExampleNewDriver.java
1
package es.gva.cit.catalog.drivers;
2

  
3
import java.net.URI;
4

  
5
import es.gva.cit.catalog.drivers.AbstractCatalogServiceDriver;
6
import es.gva.cit.catalog.drivers.CatalogCapabilities;
7
import es.gva.cit.catalog.drivers.DiscoveryServiceCapabilities;
8
import es.gva.cit.catalog.drivers.GetRecordsReply;
9
import es.gva.cit.catalog.querys.CatalogQuery;
10
import es.gva.cit.catalog.schemas.Record;
11
import es.gva.cit.catalog.schemas.RecordFactory;
12
import es.gva.cit.catalog.ui.search.SearchAditionalPropertiesPanel;
13

  
14
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
15
 *
16
 * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
17
 *
18
 * This program is free software; you can redistribute it and/or
19
 * modify it under the terms of the GNU General Public License
20
 * as published by the Free Software Foundation; either version 2
21
 * of the License, or (at your option) any later version.
22
 *
23
 * This program is distributed in the hope that it will be useful,
24
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
25
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
26
 * GNU General Public License for more details.
27
 *
28
 * You should have received a copy of the GNU General Public License
29
 * along with this program; if not, write to the Free Software
30
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
31
 *
32
 * For more information, contact:
33
 *
34
 *  Generalitat Valenciana
35
 *   Conselleria d'Infraestructures i Transport
36
 *   Av. Blasco Ib??ez, 50
37
 *   46010 VALENCIA
38
 *   SPAIN
39
 *
40
 *      +34 963862235
41
 *   gvsig@gva.es
42
 *      www.gvsig.gva.es
43
 *
44
 *    or
45
 *
46
 *   IVER T.I. S.A
47
 *   Salamanca 50
48
 *   46005 Valencia
49
 *   Spain
50
 *
51
 *   +34 963163400
52
 *   dac@iver.es
53
 */
54
/* CVS MESSAGES:
55
 *
56
 * $Id: ExampleNewDriver.java 537 2007-07-26 11:21:10Z jpiera $
57
 * $Log$
58
 * Revision 1.1.2.1  2007/07/13 12:00:35  jorpiell
59
 * Add the posibility to add a new panel
60
 *
61
 *
62
 */
63
/**
64
 * @author Jorge Piera LLodr? (jorge.piera@iver.es)
65
 */
66
public class ExampleNewDriver extends AbstractCatalogServiceDriver {
67

  
68
	/*
69
	 * (non-Javadoc)
70
	 * @see es.gva.cit.catalogClient.drivers.IDiscoveryServiceDriver#getCapabilities(java.net.URI)
71
	 */
72
	public DiscoveryServiceCapabilities getCapabilities(URI uri) {
73
		return new CatalogCapabilities();
74
	}
75

  
76
	/*
77
	 * (non-Javadoc)
78
	 * @see es.gva.cit.catalog.drivers.ICatalogServiceDriver#getRecords(java.net.URI, es.gva.cit.catalog.querys.CatalogQuery, int)
79
	 */
80
	public GetRecordsReply getRecords(URI uri, CatalogQuery query,
81
			int firstRecord) {
82
		GetRecordsReply reply = new GetRecordsReply(1);
83
		Record record = RecordFactory.createRecord(uri, null);
84
		record.setTitle("Record example");
85
		record.setAbstract_("Just for testing");
86
		reply.addRecord(record);
87
		return reply;
88
	}
89

  
90
	/*
91
	 * (non-Javadoc)
92
	 * @see es.gva.cit.catalog.drivers.IDiscoveryServiceDriver#getServiceName()
93
	 */
94
	public String getServiceName() {
95
		return "My catalog service";
96
	}
97

  
98
	/*
99
	 * (non-Javadoc)
100
	 * @see es.gva.cit.gazetteer.drivers.IGazetteerServiceDriver#getAditionalSearchPanel()
101
	 */
102
	public SearchAditionalPropertiesPanel getAditionalSearchPanel(){
103
		return new ExampleNewPanel();
104
	}
105

  
106

  
107

  
108

  
109
}
0 110

  
trunk/applications/appCatalogAndGazetteerClient/src-test/es/gva/cit/catalog/drivers/ExampleNewDriverTest.java
1
package es.gva.cit.catalog.drivers;
2

  
3
import javax.swing.UIManager;
4
import javax.swing.UnsupportedLookAndFeelException;
5

  
6
import es.gva.cit.catalog.ui.serverconnect.ServerConnectDialog;
7
import es.gva.cit.catalog.utils.CatalogDriverRegister;
8

  
9
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
10
 *
11
 * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
12
 *
13
 * This program is free software; you can redistribute it and/or
14
 * modify it under the terms of the GNU General Public License
15
 * as published by the Free Software Foundation; either version 2
16
 * of the License, or (at your option) any later version.
17
 *
18
 * This program is distributed in the hope that it will be useful,
19
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21
 * GNU General Public License for more details.
22
 *
23
 * You should have received a copy of the GNU General Public License
24
 * along with this program; if not, write to the Free Software
25
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
26
 *
27
 * For more information, contact:
28
 *
29
 *  Generalitat Valenciana
30
 *   Conselleria d'Infraestructures i Transport
31
 *   Av. Blasco Ib??ez, 50
32
 *   46010 VALENCIA
33
 *   SPAIN
34
 *
35
 *      +34 963862235
36
 *   gvsig@gva.es
37
 *      www.gvsig.gva.es
38
 *
39
 *    or
40
 *
41
 *   IVER T.I. S.A
42
 *   Salamanca 50
43
 *   46005 Valencia
44
 *   Spain
45
 *
46
 *   +34 963163400
47
 *   dac@iver.es
48
 */
49
/* CVS MESSAGES:
50
 *
51
 * $Id: ExampleNewDriverTest.java 512 2007-07-24 11:25:43Z jorpiell $
52
 * $Log$
53
 * Revision 1.1.2.2  2007/07/24 11:25:42  jorpiell
54
 * The registers has been refactorized
55
 *
56
 * Revision 1.1.2.1  2007/07/13 12:00:35  jorpiell
57
 * Add the posibility to add a new panel
58
 *
59
 *
60
 */
61
/**
62
 * @author Jorge Piera LLodr? (jorge.piera@iver.es)
63
 */
64
public class ExampleNewDriverTest {
65

  
66
	/**
67
	 * @param args
68
	 */
69
	public static void main(String[] args) {
70
		 CatalogDriverRegister register = CatalogDriverRegister.getInstance();
71
	        register.register(new ExampleNewDriver());
72
	       //Get the currently installed look and feel
73
	        UIManager.getLookAndFeel();
74
	        // Install a different look and feel; specifically, the Windows look and feel
75
	        try {
76
	            UIManager.setLookAndFeel(
77
	                "com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
78
	        } catch (InstantiationException e) {
79
	        } catch (ClassNotFoundException e) {
80
	        } catch (UnsupportedLookAndFeelException e) {
81
	        } catch (IllegalAccessException e) {
82
	        }
83
	        
84
	        new ServerConnectDialog();
85
	}
86

  
87
}
0 88

  
trunk/applications/appCatalogAndGazetteerClient/src-test/es/gva/cit/catalog/drivers/ExampleNewPanel.java
1
package es.gva.cit.catalog.drivers;
2

  
3
import java.util.Properties;
4

  
5
import javax.swing.JLabel;
6
import javax.swing.JTextField;
7

  
8
import es.gva.cit.catalog.ui.search.SearchAditionalPropertiesPanel;
9

  
10
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
11
 *
12
 * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
13
 *
14
 * This program is free software; you can redistribute it and/or
15
 * modify it under the terms of the GNU General Public License
16
 * as published by the Free Software Foundation; either version 2
17
 * of the License, or (at your option) any later version.
18
 *
19
 * This program is distributed in the hope that it will be useful,
20
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22
 * GNU General Public License for more details.
23
 *
24
 * You should have received a copy of the GNU General Public License
25
 * along with this program; if not, write to the Free Software
26
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
27
 *
28
 * For more information, contact:
29
 *
30
 *  Generalitat Valenciana
31
 *   Conselleria d'Infraestructures i Transport
32
 *   Av. Blasco Ib??ez, 50
33
 *   46010 VALENCIA
34
 *   SPAIN
35
 *
36
 *      +34 963862235
37
 *   gvsig@gva.es
38
 *      www.gvsig.gva.es
39
 *
40
 *    or
41
 *
42
 *   IVER T.I. S.A
43
 *   Salamanca 50
44
 *   46005 Valencia
45
 *   Spain
46
 *
47
 *   +34 963163400
48
 *   dac@iver.es
49
 */
50
/* CVS MESSAGES:
51
 *
52
 * $Id: ExampleNewPanel.java 537 2007-07-26 11:21:10Z jpiera $
53
 * $Log$
54
 * Revision 1.1.2.1  2007/07/13 12:00:35  jorpiell
55
 * Add the posibility to add a new panel
56
 *
57
 *
58
 */
59
/**
60
 * @author Jorge Piera LLodr? (jorge.piera@iver.es)
61
 */
62
public class ExampleNewPanel extends SearchAditionalPropertiesPanel{
63
	JLabel label = null;
64
	JTextField text = null;
65
	
66
	public ExampleNewPanel(){
67
		label = new JLabel();
68
		text = new JTextField();		
69
		setLayout(new java.awt.BorderLayout());
70
		label.setText("Label");
71
		add(label, java.awt.BorderLayout.WEST);		
72
		add(text, java.awt.BorderLayout.CENTER);
73
	}
74
	
75
	/*
76
	 * (non-Javadoc)
77
	 * @see es.gva.cit.gazetteer.ui.search.SearchAditionalPropertiesPanel#getProperties()
78
	 */
79
	public Properties getProperties() {
80
		Properties properties = new Properties();
81
		properties.put("PROP1", text.getText());
82
		return properties;
83
	}
84

  
85
}
0 86

  
trunk/applications/appCatalogAndGazetteerClient/src-test/es/gva/cit/catalog/utils/URIUtilsTest.java
1
package es.gva.cit.catalog.utils;
2

  
3
import java.net.URI;
4
import java.net.URISyntaxException;
5

  
6
import junit.framework.TestCase;
7

  
8
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
9
 *
10
 * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
11
 *
12
 * This program is free software; you can redistribute it and/or
13
 * modify it under the terms of the GNU General Public License
14
 * as published by the Free Software Foundation; either version 2
15
 * of the License, or (at your option) any later version.
16
 *
17
 * This program is distributed in the hope that it will be useful,
18
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20
 * GNU General Public License for more details.
21
 *
22
 * You should have received a copy of the GNU General Public License
23
 * along with this program; if not, write to the Free Software
24
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
25
 *
26
 * For more information, contact:
27
 *
28
 *  Generalitat Valenciana
29
 *   Conselleria d'Infraestructures i Transport
30
 *   Av. Blasco Ib??ez, 50
31
 *   46010 VALENCIA
32
 *   SPAIN
33
 *
34
 *      +34 963862235
35
 *   gvsig@gva.es
36
 *      www.gvsig.gva.es
37
 *
38
 *    or
39
 *
40
 *   IVER T.I. S.A
41
 *   Salamanca 50
42
 *   46005 Valencia
43
 *   Spain
44
 *
45
 *   +34 963163400
46
 *   dac@iver.es
47
 */
48
/* CVS MESSAGES:
49
 *
50
 * $Id: URIUtilsTest.java,v 1.1.2.1 2007/07/10 11:18:04 jorpiell Exp $
51
 * $Log: URIUtilsTest.java,v $
52
 * Revision 1.1.2.1  2007/07/10 11:18:04  jorpiell
53
 * Added the registers
54
 *
55
 *
56
 */
57
/**
58
 * @author Jorge Piera LLodr? (jorge.piera@iver.es)
59
 */
60
public class URIUtilsTest extends TestCase {
61
	
62
	public void test1() throws URISyntaxException{
63
		URI uri = URIUtils.createUri("http://www.upv.es", "http", 80);	
64
		assertEquals(uri.getHost(), "www.upv.es");
65
		assertEquals(uri.getScheme(), "http");
66
		assertEquals(uri.getPort(), 80);
67
		assertEquals(uri.getPath(), "");
68
	}
69
	
70
	public void test2() throws URISyntaxException{
71
		URI uri = URIUtils.createUri("www.upv.es", "http", 80);	
72
		assertEquals(uri.getHost(), "www.upv.es");
73
		assertEquals(uri.getScheme(), "http");
74
		assertEquals(uri.getPort(), 80);
75
		assertEquals(uri.getPath(), "");
76
	}
77
	
78
	public void test3() throws URISyntaxException{
79
		URI uri = URIUtils.createUri("www.upv.es", "z3950", 2100);	
80
		assertEquals(uri.getHost(), "www.upv.es");
81
		assertEquals(uri.getScheme(), "z3950");
82
		assertEquals(uri.getPort(), 2100);
83
		assertEquals(uri.getPath(), "");
84
	}
85
	
86
	public void test4() throws URISyntaxException{
87
		URI uri = URIUtils.createUri("http://193.144.250.29/webservices/services/IDEC_GeoServeisPort", "http", 80);	
88
		assertEquals(uri.getHost(), "193.144.250.29");
89
		assertEquals(uri.getScheme(), "http");
90
		assertEquals(uri.getPort(), 80);
91
		assertEquals(uri.getPath(), "/webservices/services/IDEC_GeoServeisPort");
92
	}
93
}
0 94

  
trunk/applications/appCatalogAndGazetteerClient/src-test/es/gva/cit/gazetteer/drivers/ExampleNewDriver.java
1
package es.gva.cit.gazetteer.drivers;
2

  
3
import java.awt.geom.Point2D;
4
import java.net.URI;
5

  
6
import es.gva.cit.catalog.drivers.DiscoveryServiceCapabilities;
7
import es.gva.cit.catalog.exceptions.NotSupportedProtocolException;
8
import es.gva.cit.catalog.ui.search.SearchAditionalPropertiesPanel;
9
import es.gva.cit.gazetteer.querys.Feature;
10
import es.gva.cit.gazetteer.querys.GazetteerQuery;
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: ExampleNewDriver.java 537 2007-07-26 11:21:10 +0000 (Thu, 26 Jul 2007) jpiera $
55
 * $Log$
56
 * Revision 1.1.2.1  2007/07/13 12:00:35  jorpiell
57
 * Add the posibility to add a new panel
58
 *
59
 *
60
 */
61
/**
62
 * @author Jorge Piera LLodr? (jorge.piera@iver.es)
63
 */
64
public class ExampleNewDriver extends AbstractGazetteerServiceDriver {
65

  
66
	/*
67
	 * (non-Javadoc)
68
	 * @see es.gva.cit.catalogClient.drivers.IDiscoveryServiceDriver#getCapabilities(java.net.URI)
69
	 */
70
	public DiscoveryServiceCapabilities getCapabilities(URI uri) {
71
		return new GazetteerCapabilities();
72
	}
73

  
74
	/*
75
	 * (non-Javadoc)
76
	 * @see es.gva.cit.gazetteer.drivers.IGazetteerServiceDriver#getFeature(java.net.URI, es.gva.cit.gazetteer.querys.Query)
77
	 */
78
	public Feature[] getFeature(URI uri, GazetteerQuery query) throws Exception {
79
		String prop = (String)query.getProperty("PROP1");
80
		Feature[] features = new Feature[1];
81
		features[0] = new Feature("1","Result 1","description 1",new Point2D.Double(0,0));
82
		return features;
83
	}
84

  
85
	/*
86
	 * (non-Javadoc)
87
	 * @see es.gva.cit.gazetteer.drivers.IGazetteerServiceDriver#getServiceName()
88
	 */
89
	public String getServiceName() {
90
		return "My service";
91
	}
92
	
93
	/*
94
	 * (non-Javadoc)
95
	 * @see es.gva.cit.gazetteer.drivers.IGazetteerServiceDriver#getAditionalSearchPanel()
96
	 */
97
	public SearchAditionalPropertiesPanel getAditionalSearchPanel(){
98
		return new ExampleNewPanel();
99
	}
100

  
101
}
0 102

  
trunk/applications/appCatalogAndGazetteerClient/src-test/es/gva/cit/gazetteer/drivers/ExampleNewDriverTest.java
1
package es.gva.cit.gazetteer.drivers;
2

  
3
import javax.swing.UIManager;
4
import javax.swing.UnsupportedLookAndFeelException;
5

  
6
import es.gva.cit.gazetteer.adl.drivers.ADLGazetteerServiceDriver;
7
import es.gva.cit.gazetteer.idec.drivers.IDECGazetteerServiceDriver;
8
import es.gva.cit.gazetteer.ui.serverconnect.ServerConnectDialog;
9
import es.gva.cit.gazetteer.utils.GazetteerDriverRegister;
10
import es.gva.cit.gazetteer.wfs.drivers.WFSServiceDriver;
11
import es.gva.cit.gazetteer.wfsg.drivers.WFSGServiceDriver;
12

  
13
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
14
 *
15
 * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
16
 *
17
 * This program is free software; you can redistribute it and/or
18
 * modify it under the terms of the GNU General Public License
19
 * as published by the Free Software Foundation; either version 2
20
 * of the License, or (at your option) any later version.
21
 *
22
 * This program is distributed in the hope that it will be useful,
23
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
24
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
25
 * GNU General Public License for more details.
26
 *
27
 * You should have received a copy of the GNU General Public License
28
 * along with this program; if not, write to the Free Software
29
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
30
 *
31
 * For more information, contact:
32
 *
33
 *  Generalitat Valenciana
34
 *   Conselleria d'Infraestructures i Transport
35
 *   Av. Blasco Ib??ez, 50
36
 *   46010 VALENCIA
37
 *   SPAIN
38
 *
39
 *      +34 963862235
40
 *   gvsig@gva.es
41
 *      www.gvsig.gva.es
42
 *
43
 *    or
44
 *
45
 *   IVER T.I. S.A
46
 *   Salamanca 50
47
 *   46005 Valencia
48
 *   Spain
49
 *
50
 *   +34 963163400
51
 *   dac@iver.es
52
 */
53
/* CVS MESSAGES:
54
 *
55
 * $Id: ExampleNewDriverTest.java 512 2007-07-24 11:25:43 +0000 (Tue, 24 Jul 2007) jorpiell $
56
 * $Log$
57
 * Revision 1.1.2.2  2007/07/24 11:25:42  jorpiell
58
 * The registers has been refactorized
59
 *
60
 * Revision 1.1.2.1  2007/07/13 12:00:35  jorpiell
61
 * Add the posibility to add a new panel
62
 *
63
 *
64
 */
65
/**
66
 * @author Jorge Piera LLodr? (jorge.piera@iver.es)
67
 */
68
public class ExampleNewDriverTest {
69

  
70
	/**
71
	 * @param args
72
	 */
73
	public static void main(String[] args) {
74
		 GazetteerDriverRegister register = GazetteerDriverRegister.getInstance();
75
	        register.register(new ExampleNewDriver());
76
	       //Get the currently installed look and feel
77
	        UIManager.getLookAndFeel();
78
	        // Install a different look and feel; specifically, the Windows look and feel
79
	        try {
80
	            UIManager.setLookAndFeel(
81
	                "com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
82
	        } catch (InstantiationException e) {
83
	        } catch (ClassNotFoundException e) {
84
	        } catch (UnsupportedLookAndFeelException e) {
85
	        } catch (IllegalAccessException e) {
86
	        }
87
	        
88
	        new ServerConnectDialog();
89
	}
90

  
91
}
0 92

  
trunk/applications/appCatalogAndGazetteerClient/src-test/es/gva/cit/gazetteer/drivers/ExampleNewPanel.java
1
package es.gva.cit.gazetteer.drivers;
2

  
3
import java.util.Properties;
4

  
5
import javax.swing.JLabel;
6
import javax.swing.JTextField;
7

  
8
import es.gva.cit.catalog.ui.search.SearchAditionalPropertiesPanel;
9

  
10
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
11
 *
12
 * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
13
 *
14
 * This program is free software; you can redistribute it and/or
15
 * modify it under the terms of the GNU General Public License
16
 * as published by the Free Software Foundation; either version 2
17
 * of the License, or (at your option) any later version.
18
 *
19
 * This program is distributed in the hope that it will be useful,
20
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22
 * GNU General Public License for more details.
23
 *
24
 * You should have received a copy of the GNU General Public License
25
 * along with this program; if not, write to the Free Software
26
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
27
 *
28
 * For more information, contact:
29
 *
30
 *  Generalitat Valenciana
31
 *   Conselleria d'Infraestructures i Transport
32
 *   Av. Blasco Ib??ez, 50
33
 *   46010 VALENCIA
34
 *   SPAIN
35
 *
36
 *      +34 963862235
37
 *   gvsig@gva.es
38
 *      www.gvsig.gva.es
39
 *
40
 *    or
41
 *
42
 *   IVER T.I. S.A
43
 *   Salamanca 50
44
 *   46005 Valencia
45
 *   Spain
46
 *
47
 *   +34 963163400
48
 *   dac@iver.es
49
 */
50
/* CVS MESSAGES:
51
 *
52
 * $Id: ExampleNewPanel.java 537 2007-07-26 11:21:10 +0000 (Thu, 26 Jul 2007) jpiera $
53
 * $Log$
54
 * Revision 1.1.2.1  2007/07/13 12:00:35  jorpiell
55
 * Add the posibility to add a new panel
56
 *
57
 *
58
 */
59
/**
60
 * @author Jorge Piera LLodr? (jorge.piera@iver.es)
61
 */
62
public class ExampleNewPanel extends SearchAditionalPropertiesPanel{
63
	JLabel label = null;
64
	JTextField text = null;
65
	
66
	public ExampleNewPanel(){
67
		label = new JLabel();
68
		text = new JTextField();		
69
		setLayout(new java.awt.BorderLayout());
70
		label.setText("Label");
71
		add(label, java.awt.BorderLayout.WEST);		
72
		add(text, java.awt.BorderLayout.CENTER);
73
	}
74
	
75
	/*
76
	 * (non-Javadoc)
77
	 * @see es.gva.cit.gazetteer.ui.search.SearchAditionalPropertiesPanel#getProperties()
78
	 */
79
	public Properties getProperties() {
80
		Properties properties = new Properties();
81
		properties.put("PROP1", text.getText());
82
		return properties;
83
	}
84

  
85
}
0 86

  
trunk/applications/appCatalogAndGazetteerClient/src-test/es/gva/cit/gazetteer/URIs.java
1
package es.gva.cit.gazetteer;
2

  
3
import java.net.URISyntaxException;
4

  
5

  
6
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
7
 *
8
 * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
9
 *
10
 * This program is free software; you can redistribute it and/or
11
 * modify it under the terms of the GNU General Public License
12
 * as published by the Free Software Foundation; either version 2
13
 * of the License, or (at your option) any later version.
14
 *
15
 * This program is distributed in the hope that it will be useful,
16
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
 * GNU General Public License for more details.
19
 *
20
 * You should have received a copy of the GNU General Public License
21
 * along with this program; if not, write to the Free Software
22
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
23
 *
24
 * For more information, contact:
25
 *
26
 *  Generalitat Valenciana
27
 *   Conselleria d'Infraestructures i Transport
28
 *   Av. Blasco Ib??ez, 50
29
 *   46010 VALENCIA
30
 *   SPAIN
31
 *
32
 *      +34 963862235
33
 *   gvsig@gva.es
34
 *      www.gvsig.gva.es
35
 *
36
 *    or
37
 *
38
 *   IVER T.I. S.A
39
 *   Salamanca 50
40
 *   46005 Valencia
41
 *   Spain
42
 *
43
 *   +34 963163400
44
 *   dac@iver.es
45
 */
46
/* CVS MESSAGES:
47
 *
48
 * $Id: URIs.java 499 2007-07-10 11:18:10 +0000 (Tue, 10 Jul 2007) jorpiell $
49
 * $Log$
50
 * Revision 1.1.2.1  2007/07/10 11:18:03  jorpiell
51
 * Added the registers
52
 *
53
 *
54
 */
55
/**
56
 * @author Jorge Piera LLodr? (jorge.piera@iver.es)
57
 */
58
public class URIs {
59

  
60
	/**
61
	 * @param args
62
	 * @throws URISyntaxException 
63
	 */
64
	public static void main(String[] args) throws URISyntaxException {
65
		java.net.URI uri = new java.net.URI("www.upv.es");
66
		System.out.println(uri.getHost());
67
		System.out.println(uri.getPort());
68
		System.out.println(uri.getScheme());
69
		java.net.URI uri1 = new java.net.URI("z3950://www.upv.es");
70
		System.out.println(uri1.getHost());
71
		System.out.println(uri1.getPort());
72
		System.out.println(uri1.getScheme());
73
	}
74

  
75
}
0 76

  
trunk/applications/appCatalogAndGazetteerClient/config/cvs/Entries
1
/ApplicationContext.xml/1.1.2.1/Wed Sep 20 12:01:08 2006//TCatalogYNomenclator_v1_1_0_1005
2
/ApplicationContextAlone.xml/1.1.2.1/Wed Sep 20 12:01:08 2006//TCatalogYNomenclator_v1_1_0_1005
3
/TestContext.properties/1.1.2.1/Wed Sep 20 12:01:08 2006//TCatalogYNomenclator_v1_1_0_1005
0 4

  
trunk/applications/appCatalogAndGazetteerClient/config/cvs/Tag
1
TCatalogYNomenclator_v1_1_0_1005
0 2

  
trunk/applications/appCatalogAndGazetteerClient/config/cvs/Repository
1
gvSIG-project/applications/appCatalogYNomenclatorClient/config
0 2

  
trunk/applications/appCatalogAndGazetteerClient/config/cvs/Root
1
:extssh:jorpiell@www.gvsig.org:/var/lib/cvs-gvSIG
0 2

  
trunk/applications/appCatalogAndGazetteerClient/config/ApplicationContextAlone.xml
19 19
  <!-- ========================= BUSINESS DEFINITIONS ========================= -->
20 20

  
21 21
  <bean id="OIDRegister" class="org.jzkit.a2j.codec.util.OIDRegister">
22
    <constructor-arg index="0"><value>/es/gva/cit/catalogClient/protocols/context/a2j.properties</value></constructor-arg>
22
    <constructor-arg index="0"><value>/es/gva/cit/catalog/protocols/context/a2j.properties</value></constructor-arg>
23 23
  </bean>
24 24

  
25 25
  <!-- conversion rules -->
26 26
  <bean id="RPNToInternalRules" class="org.jzkit.util.PropsHolder">
27
    <constructor-arg index="0"><value>/es/gva/cit/catalogClient/protocols/context/InternalAttrTypes.properties</value></constructor-arg>
27
    <constructor-arg index="0"><value>/es/gva/cit/catalog/protocols/context/InternalAttrTypes.properties</value></constructor-arg>
28 28
  </bean>
29 29

  
30 30
  <bean id="InternalToType1ConversionRules" class="org.jzkit.z3950.QueryModel.PropsBasedInternalToType1ConversionRules">
31
    <constructor-arg index="0"><value>/es/gva/cit/catalogClient/protocols/context/InternalToType1Rules.properties</value></constructor-arg>
31
    <constructor-arg index="0"><value>/es/gva/cit/catalog/protocols/context/InternalToType1Rules.properties</value></constructor-arg>
32 32
  </bean>
33 33

  
34 34
</beans>
trunk/applications/appCatalogAndGazetteerClient/config/ApplicationContext.xml
13 13
<!-- ========================= BUSINESS DEFINITIONS ========================= -->
14 14

  
15 15
	<bean id="OIDRegister" class="org.jzkit.a2j.codec.util.OIDRegister">
16
    	<constructor-arg index="0"><value>/es/gva/cit/catalogClient/protocols/context/a2j.properties</value></constructor-arg>
16
    	<constructor-arg index="0"><value>/es/gva/cit/catalog/protocols/context/a2j.properties</value></constructor-arg>
17 17
	</bean>
18 18

  
19 19
<!-- conversion rules -->
20 20
	<bean id="RPNToInternalRules" class="org.jzkit.util.PropsHolder">
21
    	<constructor-arg index="0"><value>/es/gva/cit/catalogClient/protocols/context/InternalAttrTypes.properties</value></constructor-arg>
21
    	<constructor-arg index="0"><value>/es/gva/cit/catalog/protocols/context/InternalAttrTypes.properties</value></constructor-arg>
22 22
	</bean>
23 23

  
24 24
  	<bean id="InternalToType1ConversionRules" class="org.jzkit.z3950.QueryModel.PropsBasedInternalToType1ConversionRules">
25
    	<constructor-arg index="0"><value>/es/gva/cit/catalogClient/protocols/context/InternalToType1Rules.properties</value></constructor-arg>
25
    	<constructor-arg index="0"><value>/es/gva/cit/catalog/protocols/context/InternalToType1Rules.properties</value></constructor-arg>
26 26
	</bean>
27 27
</beans>
trunk/applications/appCatalogAndGazetteerClient/images/cvs/Repository
1
gvSIG-project/applications/appCatalogYNomenclatorClient/images
0 2

  
trunk/applications/appCatalogAndGazetteerClient/images/cvs/Root
1
:extssh:jorpiell@www.gvsig.org:/var/lib/cvs-gvSIG
0 2

  
trunk/applications/appCatalogAndGazetteerClient/images/cvs/Entries
1
/GazzButton.png/1.1/Wed Jan 25 08:14:29 2006/-kb/TCatalogYNomenclator_v1_1_0_1005
2
/IcoRecord.PNG/1.1/Tue May 31 08:23:45 2005/-kb/TCatalogYNomenclator_v1_1_0_1005
3
/SearchButton.bmp/1.1/Mon May 30 15:55:31 2005/-kb/TCatalogYNomenclator_v1_1_0_1005
4
/SearchButton.png/1.1/Mon May 30 15:55:31 2005/-kb/TCatalogYNomenclator_v1_1_0_1005
5
/delone.png/1.1/Thu Mar  9 12:30:36 2006/-kb/TCatalogYNomenclator_v1_1_0_1005
6
/down.png/1.1/Sat Oct 15 12:13:42 2005/-kb/TCatalogYNomenclator_v1_1_0_1005
7
/no_image.png/1.1/Wed Jan 25 08:14:29 2006/-kb/TCatalogYNomenclator_v1_1_0_1005
8
/up.png/1.1/Sat Oct 15 12:13:42 2005/-kb/TCatalogYNomenclator_v1_1_0_1005
0 9

  
trunk/applications/appCatalogAndGazetteerClient/images/cvs/Tag
1
TCatalogYNomenclator_v1_1_0_1005
0 2

  
trunk/applications/appCatalogAndGazetteerClient/build.number
1 1
#Build Number for ANT. Do not edit!
2
#Tue Oct 16 13:02:14 CEST 2007
3
build.number=1202
2
#Wed Jun 27 09:17:12 CEST 2007
3
build.number=1005
trunk/applications/appCatalogAndGazetteerClient/src/es/gva/cit/catalogClient/CatalogClient.java
1

  
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
package es.gva.cit.catalogClient;
43
import es.gva.cit.catalogClient.csw.drivers.CSWCatalogServiceDriver;
44
import es.gva.cit.catalogClient.drivers.ICatalogServiceDriver;
45
import es.gva.cit.catalogClient.querys.Query;
46
import es.gva.cit.catalogClient.schemas.Schemas;
47
import es.gva.cit.catalogClient.srw.drivers.SRWCatalogServiceDriver;
48
import com.iver.utiles.swing.jcomboServer.ServerData;
49
import es.gva.cit.catalogClient.z3950.drivers.Z3950CatalogServiceDriver;
50
import java.io.IOException;
51
import java.net.MalformedURLException;
52
import java.net.Socket;
53
import java.net.URL;
54
import java.net.UnknownHostException;
55
import java.util.Collection;
56

  
57
/**
58
 * This class represents a catalogClient. It must be created to
59
 * use the catalog service
60
 * 
61
 * 
62
 * @author Jorge Piera Llodra (piera_jor@gva.es)
63
 */
64
public class CatalogClient {
65

  
66
/**
67
 * 
68
 * 
69
 */
70
    private URL url = null;
71

  
72
/**
73
 * 
74
 * 
75
 */
76
    private String sURL = null;
77

  
78
/**
79
 * 
80
 * 
81
 */
82
    private String protocol = null;
83
/**
84
 * 
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff