|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ResultType> org.deegree.protocol.wfs.getfeature.ResultType
public enum ResultType
Used for discriminating between the two GetFeature
modes: results
and hits
.
Since WFS spec 1.1.0, a WFS can respond to a query operation in one of two ways (excluding an exception response). It may either generate a complete response document containing resources that satisfy the operation or it may simply generate an empty response container that indicates the count of the total number of resources that the operation would return. Which of these two responses a WFS generates is determined by the value of the optional resultType parameter.
Enum Constant Summary | |
---|---|
HITS
An empty response set should be returned (i.e. no feature instances should be returned), but the "numberOfFeatures" attribute should be set to the number of feature instances that would be returned. |
|
RESULTS
The full response set (i.e. all the feature instances) should be returned. |
Method Summary | |
---|---|
static ResultType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ResultType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ResultType RESULTS
public static final ResultType HITS
Method Detail |
---|
public static ResultType[] values()
for (ResultType c : ResultType.values()) System.out.println(c);
public static ResultType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |