org.deegree_impl.graphics.sld
Class UserLayer_Impl

java.lang.Object
  extended byorg.deegree_impl.graphics.sld.Layer_Impl
      extended byorg.deegree_impl.graphics.sld.UserLayer_Impl
All Implemented Interfaces:
Layer, Marshallable, UserLayer

public class UserLayer_Impl
extends Layer_Impl
implements UserLayer, Marshallable

In addition to using named layers, it is also useful to be able to define custom user-defined layers for rendering.

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).

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

Version:
$Revision: 1.7 $ $Date: 2004/01/27 17:08:00 $
Author:
Katharina Lupp

Field Summary
private  RemoteOWS remoteOWS
           
 
Fields inherited from class org.deegree_impl.graphics.sld.Layer_Impl
layerFeatureConstraints, name, styles
 
Constructor Summary
(package private) UserLayer_Impl(java.lang.String name, LayerFeatureConstraints layerFeatureConstraints, Style[] userStyles, RemoteOWS remoteOWS)
          constructor initializing the class with the
 
Method Summary
 java.lang.String exportAsXML()
          exports the content of the UserLayer as XML formated String
 RemoteOWS getRemoteOWS()
          the method returns a remote web service that enables the access to data that are not stored on same server as the WMS.
 void setRemoteOWS(RemoteOWS remoteOWS)
          sets the
 java.lang.String toString()
          returns a STring-Representation of the layer
 
Methods inherited from class org.deegree_impl.graphics.sld.Layer_Impl
addStyle, getLayerFeatureConstraints, getName, getStyles, removeStyle, setLayerFeatureConstraints, setName, setStyles
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.deegree.graphics.sld.Layer
addStyle, getLayerFeatureConstraints, getName, getStyles, removeStyle, setLayerFeatureConstraints, setName, setStyles
 

Field Detail

remoteOWS

private RemoteOWS remoteOWS
Constructor Detail

UserLayer_Impl

UserLayer_Impl(java.lang.String name,
               LayerFeatureConstraints layerFeatureConstraints,
               Style[] userStyles,
               RemoteOWS remoteOWS)
constructor initializing the class with the

Method Detail

getRemoteOWS

public RemoteOWS getRemoteOWS()
the method returns a remote web service that enables the access to data that are not stored on same server as the WMS.

Specified by:
getRemoteOWS in interface UserLayer
Returns:
the RemoteOWS

setRemoteOWS

public void setRemoteOWS(RemoteOWS remoteOWS)
sets the

Specified by:
setRemoteOWS in interface UserLayer
Parameters:
remoteOWS - the RemoteOWS

toString

public java.lang.String toString()
Description copied from class: Layer_Impl
returns a STring-Representation of the layer

Overrides:
toString in class Layer_Impl
Returns:

exportAsXML

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

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