svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.remoteclient / src / main / java / org / gvsig / remoteclient / wfs / request / WFSDescribeFeatureTypeRequest.java @ 40596
History | View | Annotate | Download (2.61 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.request; |
25 |
|
26 |
import org.gvsig.remoteclient.utils.CapabilitiesTags; |
27 |
import org.gvsig.remoteclient.wfs.WFSProtocolHandler; |
28 |
import org.gvsig.remoteclient.wfs.WFSStatus; |
29 |
|
30 |
/**
|
31 |
* The function of the DescribeFeatureType operation is to
|
32 |
* generate a schema description of feature types serviced
|
33 |
* by a WFS implementation. The schema descriptions define
|
34 |
* how a WFS implementation expects feature instances to
|
35 |
* be encoded on input (via Insert and Update requests)
|
36 |
* and how feature instances will be generated on output
|
37 |
* (in response to GetFeature and GetGmlObject requests).
|
38 |
* @see http://www.opengeospatial.org/standards/wfs
|
39 |
* @author Jorge Piera Llodr? (jorge.piera@iver.es)
|
40 |
*/
|
41 |
public abstract class WFSDescribeFeatureTypeRequest extends WFSRequest{ |
42 |
|
43 |
public WFSDescribeFeatureTypeRequest(WFSStatus status,
|
44 |
WFSProtocolHandler protocolHandler) { |
45 |
super(status, protocolHandler);
|
46 |
} |
47 |
|
48 |
/*
|
49 |
* (non-Javadoc)
|
50 |
* @see org.gvsig.remoteClient.wfs.requests.WFSRequest#getHttpPostRequest(java.lang.String)
|
51 |
*/
|
52 |
protected String getHttpPostRequest(String onlineResource) { |
53 |
// TODO Auto-generated method stub
|
54 |
return null; |
55 |
} |
56 |
|
57 |
/*
|
58 |
* (non-Javadoc)
|
59 |
* @see org.gvsig.remoteClient.wfs.requests.WFSRequest#getOperationCode()
|
60 |
*/
|
61 |
protected String getOperationName() { |
62 |
return CapabilitiesTags.WFS_DESCRIBEFEATURETYPE;
|
63 |
} |
64 |
|
65 |
/*
|
66 |
* (non-Javadoc)
|
67 |
* @see org.gvsig.remoteClient.wfs.requests.WFSRequest#getSchemaLocation()
|
68 |
*/
|
69 |
protected String getSchemaLocation() { |
70 |
return null; |
71 |
} |
72 |
|
73 |
/*
|
74 |
* (non-Javadoc)
|
75 |
* @see org.gvsig.remoteClient.wfs.requests.WFSRequest#getTempFilePrefix()
|
76 |
*/
|
77 |
protected String getTempFilePrefix() { |
78 |
return "wfs_describeFeatureType.xml"; |
79 |
} |
80 |
} |