svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.remoteclient / src / main / java / org / gvsig / remoteclient / wfs / schema / XMLNameSpace.java @ 40559
History | View | Annotate | Download (3.24 KB)
1 |
/**
|
---|---|
2 |
* gvSIG. Desktop Geographic Information System.
|
3 |
*
|
4 |
* Copyright (C) 2007-2013 gvSIG Association.
|
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 3
|
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., 51 Franklin Street, Fifth Floor, Boston,
|
19 |
* MA 02110-1301, USA.
|
20 |
*
|
21 |
* For any additional information, do not hesitate to contact us
|
22 |
* at info AT gvsig.com, or visit our website www.gvsig.com.
|
23 |
*/
|
24 |
package org.gvsig.remoteclient.wfs.schema; |
25 |
|
26 |
|
27 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
|
28 |
*
|
29 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
|
30 |
*
|
31 |
* This program is free software; you can redistribute it and/or
|
32 |
* modify it under the terms of the GNU General Public License
|
33 |
* as published by the Free Software Foundation; either version 2
|
34 |
* of the License, or (at your option) any later version.
|
35 |
*
|
36 |
* This program is distributed in the hope that it will be useful,
|
37 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
38 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
39 |
* GNU General Public License for more details.
|
40 |
*
|
41 |
* You should have received a copy of the GNU General Public License
|
42 |
* along with this program; if not, write to the Free Software
|
43 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA.
|
44 |
*
|
45 |
* For more information, contact:
|
46 |
*
|
47 |
* Generalitat Valenciana
|
48 |
* Conselleria d'Infraestructures i Transport
|
49 |
* Av. Blasco Ib??ez, 50
|
50 |
* 46010 VALENCIA
|
51 |
* SPAIN
|
52 |
*
|
53 |
* +34 963862235
|
54 |
* gvsig@gva.es
|
55 |
* www.gvsig.gva.es
|
56 |
*
|
57 |
* or
|
58 |
*
|
59 |
* IVER T.I. S.A
|
60 |
* Salamanca 50
|
61 |
* 46005 Valencia
|
62 |
* Spain
|
63 |
*
|
64 |
* +34 963163400
|
65 |
* dac@iver.es
|
66 |
*/
|
67 |
/* CVS MESSAGES:
|
68 |
*
|
69 |
* $Id: XMLNameSpace.java 9729 2007-01-15 13:11:17Z csanchez $
|
70 |
* $Log$
|
71 |
* Revision 1.2 2007-01-15 13:11:00 csanchez
|
72 |
* Sistema de Warnings y Excepciones adaptado a BasicException
|
73 |
*
|
74 |
* Revision 1.1 2006/12/22 11:25:04 csanchez
|
75 |
* Nuevo parser GML 2.x para gml's sin esquema
|
76 |
*
|
77 |
* Revision 1.1 2006/08/10 12:00:49 jorpiell
|
78 |
* Primer commit del driver de Gml
|
79 |
*
|
80 |
*
|
81 |
*/
|
82 |
/**
|
83 |
* This class represent a XSD schema file
|
84 |
*
|
85 |
* @author Jorge Piera Llodr? (piera_jor@gva.es)
|
86 |
* @author Carlos S?nchez Peri??n (sanchez_carper@gva.es)
|
87 |
*
|
88 |
*/
|
89 |
public class XMLNameSpace { |
90 |
private String prefix = null; |
91 |
private String location = null; |
92 |
|
93 |
public XMLNameSpace(String prefix,String location) { |
94 |
super();
|
95 |
this.prefix = prefix;
|
96 |
this.location = location;
|
97 |
} |
98 |
|
99 |
/**
|
100 |
* @return Returns the location.
|
101 |
*/
|
102 |
public String getLocation() { |
103 |
return location;
|
104 |
} |
105 |
|
106 |
/**
|
107 |
* @return Returns the name.
|
108 |
*/
|
109 |
public String getPrefix() { |
110 |
return prefix;
|
111 |
} |
112 |
|
113 |
/**
|
114 |
* @param location The location to set.
|
115 |
*/
|
116 |
public void setLocation(String location) { |
117 |
this.location = location;
|
118 |
} |
119 |
} |