|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.n52.oxf.ows.ServiceDescriptor
public class ServiceDescriptor
This class provides access to all the serviceMetadata which is described in the OWS Common spec (04-016r5h) of the OGC. This Descriptor has to be filled by each ServiceAdapter. The main parts of that model are:
Constructor Summary | |
---|---|
ServiceDescriptor(String version,
ServiceIdentification si,
ServiceProvider sp,
OperationsMetadata om,
Contents c)
this constructor has all required attributes of the class as its parameters. |
|
ServiceDescriptor(String url,
String version,
ServiceIdentification si,
ServiceProvider sp,
OperationsMetadata om,
Contents c,
String updateSequence)
this constructor has all attributes of the class as its parameters. |
Method Summary | |
---|---|
Contents |
getContents()
|
OperationsMetadata |
getOperationsMetadata()
|
ServiceIdentification |
getServiceIdentification()
|
ServiceProvider |
getServiceProvider()
|
String |
getUpdateSequence()
|
String |
getVersion()
|
protected void |
setContents(Contents contents)
|
protected void |
setOperationsMetadata(OperationsMetadata operationsMetadata)
|
protected void |
setServiceIdentification(ServiceIdentification serviceIdentification)
|
protected void |
setServiceProvider(ServiceProvider serviceProvider)
|
protected void |
setUpdateSequence(String updateSequence)
|
protected void |
setVersion(String version)
sets the version of the GetCapabilities operation response. |
String |
toString()
|
String |
toXML()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ServiceDescriptor(String version, ServiceIdentification si, ServiceProvider sp, OperationsMetadata om, Contents c)
url
- version
- si
- sp
- om
- c
-
OXFException
public ServiceDescriptor(String url, String version, ServiceIdentification si, ServiceProvider sp, OperationsMetadata om, Contents c, String updateSequence)
url
- version
- si
- sp
- om
- c
- updateSequence
-
OXFException
Method Detail |
---|
public String toXML()
public String getUpdateSequence()
protected void setUpdateSequence(String updateSequence)
updateSequence
- The updateSequence to set.public String getVersion()
protected void setVersion(String version) throws IllegalArgumentException
version
-
IllegalArgumentException
- if version.equals("").public OperationsMetadata getOperationsMetadata()
protected void setOperationsMetadata(OperationsMetadata operationsMetadata)
operationsMetadata
- The operationsMetadata to set.public ServiceIdentification getServiceIdentification()
protected void setServiceIdentification(ServiceIdentification serviceIdentification)
serviceIdentification
- The serviceIdentification to set.public ServiceProvider getServiceProvider()
protected void setServiceProvider(ServiceProvider serviceProvider)
serviceProvider
- The serviceProvider to set.protected void setContents(Contents contents)
contents
- public Contents getContents()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |