Revision 117 org.gvsig.wfs.app/trunk/org.gvsig.wfs.app/org.gvsig.wfs.app.mainplugin/src/main/java/org/gvsig/remoteclient/wfs/request/WFSGetFeatureRequest.java
WFSGetFeatureRequest.java | ||
---|---|---|
31 | 31 |
import org.gvsig.remoteclient.wfs.filters.filterencoding.FilterEncoding; |
32 | 32 |
|
33 | 33 |
/** |
34 |
* The GetFeature operation allows retrieval of features from a
|
|
34 |
* The GetFeature operation allows retrieval of features from a |
|
35 | 35 |
* web feature service. A GetFeature request is processed by |
36 |
* a WFS and when the value of the outputFormat attribute is
|
|
37 |
* set to text/gml a GML instance document, containing the
|
|
36 |
* a WFS and when the value of the outputFormat attribute is |
|
37 |
* set to text/gml a GML instance document, containing the |
|
38 | 38 |
* result set, is returned to the client. |
39 | 39 |
* @see http://www.opengeospatial.org/standards/wfs |
40 | 40 |
* @author Jorge Piera Llodrá (jorge.piera@iver.es) |
... | ... | |
81 | 81 |
request.append(WFSTTags.WFS_QUERY); |
82 | 82 |
request.append(" typeName=\"" + status.getFeatureFullName() + "\""); |
83 | 83 |
request.append(">"); |
84 |
if ((status.getFilterByAttribute() != null) || (status.getFilterByArea() != null)){
|
|
84 |
if ((status.getFilterByAttribute() != null) || (status.getFilterByArea() != null)){ |
|
85 | 85 |
FilterEncoding filterEncoding = new FilterEncoding(status); |
86 |
request.append(filterEncoding.toString(protocolHandler.getVersion()));
|
|
86 |
request.append(filterEncoding.toString(protocolHandler.getVersion())); |
|
87 | 87 |
} |
88 | 88 |
request.append("</" + WFSTTags.WFS_NAMESPACE_PREFIX + ":"); |
89 | 89 |
request.append(WFSTTags.WFS_QUERY); |
... | ... | |
124 | 124 |
public WFSRequestInformation createRequestInformation() { |
125 | 125 |
return new WFSGetFeatureRequestInformation(); |
126 | 126 |
} |
127 |
|
|
128 |
|
|
127 |
|
|
128 |
|
|
129 | 129 |
} |
Also available in: Unified diff