|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.protocol.ows.capabilities.GetCapabilities
public class GetCapabilities
Generic representation of an OWS/OGC GetCapabilities request. Used for GetCapabilities requests to all
kinds of OGC web services.
Compliance has been checked with the following specifications:
Supports multilingual services according to OWS Common change request OGC 08-016r2. This is already used by the WPS Specification 1.0.0.
| Constructor Summary | |
|---|---|
GetCapabilities(Collection<String> acceptVersions,
Collection<String> sections,
Collection<String> acceptFormats,
String updateSequence,
Collection<String> languages)
Constructs a new GetCapabilities request. |
|
GetCapabilities(String version)
Constructs a new GetCapabilities request that specifies the requested version in a pre-OWS fashion
(see section D.11 of OGC 06-121r3). |
|
GetCapabilities(String version,
Collection<String> sections,
Collection<String> acceptFormats,
String updateSequence,
Collection<String> languages)
Constructs a new GetCapabilities request that specifies the requested version in a pre-OWS fashion
(see section D.11 of OGC 06-121r3). |
|
GetCapabilities(Version version)
Constructs a new GetCapabilities request that specifies the requested version in a pre-OWS fashion
(see section D.11 of OGC 06-121r3). |
|
| Method Summary | |
|---|---|
Set<String> |
getAcceptFormats()
Returns the formats accepted by the client. |
List<String> |
getAcceptVersions()
Returns the acceptable versions in order of client preference (most preferred version first). |
List<Version> |
getAcceptVersionsAsVersions()
Returns the acceptable versions in order of client preference (most preferred version first). |
List<String> |
getLanguages()
Returns the languages for human readable text requested by the client. |
Set<String> |
getSections()
Returns the sections requested by the client. |
String |
getUpdateSequence()
Returns the update sequence value. |
String |
getVersion()
Returns the old-style version information (used by pre-OWS GetCapabilities requests, see section D.11 of OGC 06-121r3). |
Version |
getVersionAsVersion()
Returns the old-style version information (used by pre-OWS GetCapabilities requests, see section D.11 of OGC 06-121r3). |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GetCapabilities(Collection<String> acceptVersions,
Collection<String> sections,
Collection<String> acceptFormats,
String updateSequence,
Collection<String> languages)
GetCapabilities request.
acceptVersions - acceptable protocol versions in order of client preference, may be empty or nullsections - queried section names, may be empty or nullacceptFormats - acceptable response formats, may be empty or nullupdateSequence - TODO (what does it do exactly), may be nulllanguages - RFC 4646 language codes for human readable text (e.g. "en-CA,fr-CA"), may be emtpy or
null
public GetCapabilities(String version,
Collection<String> sections,
Collection<String> acceptFormats,
String updateSequence,
Collection<String> languages)
GetCapabilities request that specifies the requested version in a pre-OWS fashion
(see section D.11 of OGC 06-121r3).
version - old-style version information, may be nullsections - queried section names, may be empty or nullacceptFormats - acceptable response formats, may be empty or nullupdateSequence - TODO (what does it do exactly), may be nulllanguages - RFC 4646 language codes for human readable text (e.g. "en-CA,fr-CA"), may be emtpy or
nullpublic GetCapabilities(String version)
GetCapabilities request that specifies the requested version in a pre-OWS fashion
(see section D.11 of OGC 06-121r3).
version - old-style version information, may be nullpublic GetCapabilities(Version version)
GetCapabilities request that specifies the requested version in a pre-OWS fashion
(see section D.11 of OGC 06-121r3).
version - old-style version information, may be null| Method Detail |
|---|
public String getVersion()
null (if this is an OWS-style request or an pre-OWS
request without version specification)
public Version getVersionAsVersion()
throws InvalidParameterValueException
null (if this is an OWS-style request or an pre-OWS
request without version specification)
InvalidParameterValueException - if any of the versions is not syntactically correctpublic List<String> getAcceptVersions()
null
public List<Version> getAcceptVersionsAsVersions()
throws InvalidParameterValueException
null
InvalidParameterValueException - if any of the versions is not syntactically correctVersionpublic Set<String> getSections()
nullpublic Set<String> getAcceptFormats()
nullpublic String getUpdateSequence()
null if unspecifiedpublic List<String> getLanguages()
nullpublic String toString()
toString in class Object
|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||