|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.clients.context.Server
encapsulates the server description as defined in the OGC Web Map Context specification 1.0.0
Field Summary | |
private java.net.URL |
onlineResource
|
private java.lang.String |
service
|
private java.lang.String |
title
|
private java.lang.String |
version
|
Constructor Summary | |
Server(java.lang.String title,
java.lang.String version,
java.lang.String service,
java.net.URL onlineResource)
Creates a new Server object. |
Method Summary | |
java.lang.String |
exportAsXML()
Produces an XML-representation of this object. |
java.net.URL |
getOnlineResource()
link to the online resource |
java.lang.String |
getService()
the type of the service according to OGC interfaces, such as WMS, WFS. |
java.lang.String |
getTitle()
the title of the service (extracted from the Capabilities by the Context document creator) |
java.lang.String |
getVersion()
Version number of the OGC interface specification which corresponds to the service |
void |
setOnlineResource(java.net.URL onlineResource)
|
void |
setService(java.lang.String service)
|
void |
setTitle(java.lang.String title)
|
void |
setVersion(java.lang.String version)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.String service
private java.lang.String title
private java.lang.String version
private java.net.URL onlineResource
Constructor Detail |
public Server(java.lang.String title, java.lang.String version, java.lang.String service, java.net.URL onlineResource) throws ContextException
title
- the title of the serviceversion
- Version number of the OGC interface specification which
corresponds to the serviceservice
- the type of the service according to OGC interfaces, such
as WMS, WFS.onlineResource
- the link to the online resource
ContextException
Method Detail |
public java.lang.String getTitle()
public java.lang.String getVersion()
public java.lang.String getService()
public java.net.URL getOnlineResource()
public void setTitle(java.lang.String title)
title
- getTitle()
public void setVersion(java.lang.String version) throws ContextException
version
-
ContextException
getVersion()
public void setService(java.lang.String service) throws ContextException
service
-
ContextException
getService()
public void setOnlineResource(java.net.URL onlineResource) throws ContextException
onlineResource
-
ContextException
getOnlineResource()
public java.lang.String exportAsXML()
Marshallable
exportAsXML
in interface Marshallable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |