|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<WFSVersion> org.deegree.protocol.wfs.WFSVersion
public enum WFSVersion
Enum type for discriminating between the different versions of the OpenGIS Web Feature Service (WFS) Implementation Specification.
Enum Constant Summary | |
---|---|
WFS_100
WFS version 1.0.0 (OGC document #02-058 ) |
|
WFS_110
WFS version 1.1.0 (OGC document #04-094 ) |
|
WFS_200
WFS version 2.0.0, ISO 19142 (OGC document #09-025r1 ) |
Method Summary | |
---|---|
String |
getNamespaceUri()
Returns the corresponding XML namespace URI. |
Version |
getOGCVersion()
Returns a corresponding OGC/OWS Version object. |
static WFSVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static WFSVersion |
valueOf(Version ogcVersion)
Returns the enum constant that corresponds to the given Version . |
static WFSVersion[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
static WFSVersion[] |
valuesForNamespaceUri(String ns)
Returns the enum constants that correspond to the given XML namespace URIs. |
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 WFSVersion WFS_100
public static final WFSVersion WFS_110
public static final WFSVersion WFS_200
Method Detail |
---|
public static WFSVersion[] values()
for (WFSVersion c : WFSVersion.values()) System.out.println(c);
public static WFSVersion 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 nullpublic Version getOGCVersion()
Version
object.
null
public String getNamespaceUri()
null
public static WFSVersion valueOf(Version ogcVersion)
Version
.
ogcVersion
- version, must not be null
null
IllegalArgumentException
- if the version is not a known/supported WFS versionpublic static WFSVersion[] valuesForNamespaceUri(String ns)
ns
- XML namespace, must not be null
null
and contains at least one entry
NullPointerException
- if the namespace URI is null
IllegalArgumentException
- if the namespace URI does not correspond to a known/supported WFS version
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |