|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.vfny.geoserver.requests.Request
org.vfny.geoserver.requests.WFSRequest
org.vfny.geoserver.requests.wfs.FeatureRequest
Implements the WFS GetFeature interface, which responds to requests for GML.
This servlet accepts a getFeatures request and returns GML2.0 structured
XML docs. It is made up of the standard request params, plus one or more
Query objects, plus a user-assigned handle. There are also params
for feature versioning and alternate formats, but GeoServer does not yet
support those.
| Field Summary | |
protected java.lang.String |
featureVersion
Creates an object version type |
protected java.lang.String |
handle
Specifices the user-defined name for the entire get feature request |
protected int |
maxFeatures
Creates a max features constraint for the entire request |
protected java.lang.String |
outputFormat
Specifies the output format |
protected java.util.List |
queries
Creates a full list of queries |
| Fields inherited from class org.vfny.geoserver.requests.WFSRequest |
WFS_SERVICE_TYPE |
| Fields inherited from class org.vfny.geoserver.requests.Request |
httpServletRequest, request, service, version |
| Constructor Summary | |
FeatureRequest()
Empty constructor. |
|
| Method Summary | |
void |
addQuery(Query query)
Returns a specific query from this GetFeature request. |
boolean |
equals(java.lang.Object obj)
DOCUMENT ME! |
java.lang.String |
getFeatureVersion()
Returns the version for the entire GetFeature request. |
java.lang.String |
getHandle()
Returns the user-defined name for the entire GetFeature request. |
int |
getMaxFeatures()
Returns the maximum number of features for this request. |
java.lang.String |
getOutputFormat()
Gets the output format for this GetFeature request. |
java.util.List |
getQueries()
Returns the entire set of queries for this GetFeature request. |
Query |
getQuery(int i)
Returns a specific query from this GetFeature request. |
int |
getQueryCount()
Returns the number of queries for this GetFeature request. |
int |
hashCode()
DOCUMENT ME! |
void |
setFeatureVersion(java.lang.String version)
Returns the version for the entire GetFeature request. |
void |
setHandle(java.lang.String handle)
Sets the user-defined name for this request. |
void |
setMaxFeatures(int maxFeatures)
Sets the maximum number of features this request should return. |
void |
setMaxFeatures(java.lang.String maxFeatures)
Parses the GetFeature reqeust and returns a contentHandler. |
void |
setOutputFormat(java.lang.String outputFormat)
Sets the output format for this GetFeature request. |
void |
setQueries(java.util.List queries)
Sets the entire set of queries for this GetFeature request. |
java.lang.String |
toString()
Standard override of toString() |
| Methods inherited from class org.vfny.geoserver.requests.Request |
getBaseUrl, getGeoServer, getHttpServletRequest, getRequest, getRootDir, getService, getValidationProcessor, getVersion, isLoggedIn, setHttpServletRequest, setRequest, setService, setVersion |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected int maxFeatures
protected java.lang.String outputFormat
protected java.lang.String handle
protected java.lang.String featureVersion
protected java.util.List queries
| Constructor Detail |
public FeatureRequest()
| Method Detail |
public void setQueries(java.util.List queries)
queries - The Querys of this request.public void addQuery(Query query)
query - a Query to add to this request.public java.util.List getQueries()
public int getQueryCount()
public Query getQuery(int i)
i - The index of the query to retrieve.
public void setOutputFormat(java.lang.String outputFormat)
outputFormat - only gml2 is currently supported.public java.lang.String getOutputFormat()
public void setHandle(java.lang.String handle)
handle - The string to be used in reporting errors.public java.lang.String getHandle()
public void setFeatureVersion(java.lang.String version)
version - The version of the feature to retrieve.public java.lang.String getFeatureVersion()
public void setMaxFeatures(int maxFeatures)
maxFeatures - The maximum number of features to return.public void setMaxFeatures(java.lang.String maxFeatures)
maxFeatures - The maximum number of features to return.public int getMaxFeatures()
public java.lang.String toString()
public boolean equals(java.lang.Object obj)
equals in class Requestobj - DOCUMENT ME!
public int hashCode()
hashCode in class Request
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||