|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.protocol.ows.getcapabilities.GetCapabilities
public class GetCapabilities
Generic representation of an OWS/OGC GetCapabilities GetCapabilities
. Used for
GetCapabilities
requests to any OGC web services.
Data model has been designed to capture the expressiveness of all OWS specifications and versions and was verified against 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(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> acceptVersions,
Collection<String> sections,
Collection<String> acceptFormats,
String updateSequence,
Collection<String> acceptLanguages)
Creates a new GetCapabilities instance. |
|
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> |
getAcceptLanguages()
Returns the languages for human readable text requested 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). |
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(String version, Collection<String> acceptVersions, Collection<String> sections, Collection<String> acceptFormats, String updateSequence, Collection<String> acceptLanguages)
GetCapabilities
instance.
version
- version hint, may be null
acceptVersions
- acceptable protocol versions in order of client preference, may be empty or null
sections
- requested section names, may be empty or null
acceptFormats
- acceptable response formats, may be empty or null
updateSequence
- TODO (what does it do exactly), may be null
acceptLanguages
- RFC 4646 language codes for human readable text (e.g. "en-CA,fr-CA"), may be empty 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 null
sections
- queried section names, may be empty or null
acceptFormats
- acceptable response formats, may be empty or null
updateSequence
- TODO (what does it do exactly), may be null
languages
- RFC 4646 language codes for human readable text (e.g. "en-CA,fr-CA"), may be emtpy or
null
public 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 null
public 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 correctVersion
public Set<String> getSections()
null
public Set<String> getAcceptFormats()
null
public String getUpdateSequence()
null
if unspecifiedpublic List<String> getAcceptLanguages()
null
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |