org.deegree_impl.graphics.sld
Class RemoteOWS_Impl

java.lang.Object
  extended byorg.deegree_impl.graphics.sld.RemoteOWS_Impl
All Implemented Interfaces:
Marshallable, RemoteOWS

class RemoteOWS_Impl
extends java.lang.Object
implements RemoteOWS, Marshallable

Since a layer is defined as a collection of potentially mixed-type features, the UserLayer element must provide the means to identify the features to be used. All features to be rendered are assumed to be fetched from a Web Feature Server (WFS) or a Web Coverage Service (WCS, in which case the term features is used loosely).

The remote server to be used is identified by RemoteOWS (OGC Web Service) element.

----------------------------------------------------------------------

Version:
$Revision: 1.6 $ $Date: 2004/03/15 07:34:38 $
Author:
Andreas Poth

Field Summary
private  java.net.URL onlineResource
           
private  java.lang.String service
           
 
Fields inherited from interface org.deegree.graphics.sld.RemoteOWS
WCS, WFS
 
Constructor Summary
(package private) RemoteOWS_Impl(java.lang.String service, java.net.URL onlineResource)
          Creates a new RemoteOWS_Impl object.
 
Method Summary
 java.lang.String exportAsXML()
          exports the content of the RemoteOWS as XML formated String
 java.net.URL getOnlineResource()
          address of the the ows as URL
 java.lang.String getService()
          type of service that is represented by the remote ows. at the moment WFS and WCS are possible values.
 void setOnlineResource(java.net.URL onlineResource)
          sets the address of the the ows as URL
 void setService(java.lang.String service)
          Sets a Service
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

service

private java.lang.String service

onlineResource

private java.net.URL onlineResource
Constructor Detail

RemoteOWS_Impl

RemoteOWS_Impl(java.lang.String service,
               java.net.URL onlineResource)
Creates a new RemoteOWS_Impl object.

Parameters:
service -
onlineResource -
Method Detail

getService

public java.lang.String getService()
type of service that is represented by the remote ows. at the moment WFS and WCS are possible values.

Specified by:
getService in interface RemoteOWS
Returns:
the type of the services

setService

public void setService(java.lang.String service)
Description copied from interface: RemoteOWS
Sets a Service

Specified by:
setService in interface RemoteOWS
Parameters:
service - the type of the services
See Also:
getService()

getOnlineResource

public java.net.URL getOnlineResource()
address of the the ows as URL

Specified by:
getOnlineResource in interface RemoteOWS
Returns:
the adress of the ows as URL

setOnlineResource

public void setOnlineResource(java.net.URL onlineResource)
Description copied from interface: RemoteOWS
sets the address of the the ows as URL

Specified by:
setOnlineResource in interface RemoteOWS
Parameters:
onlineResource - the adress of the ows as URL
See Also:
getOnlineResource()

exportAsXML

public java.lang.String exportAsXML()
exports the content of the RemoteOWS as XML formated String

Specified by:
exportAsXML in interface Marshallable
Returns:
xml representation of the RemoteOWS