deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.graphics.sld
Class UserLayer

java.lang.Object
  extended by org.deegree.graphics.sld.AbstractLayer
      extended by org.deegree.graphics.sld.UserLayer
All Implemented Interfaces:
Marshallable

public class UserLayer
extends AbstractLayer
implements 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 CapabilitiesService (WCS, in which case the term features is used loosely).

Version:
$Revision: 18195 $ $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
Author:
Katharina Lupp, last edited by: $Author: mschneider $

Field Summary
 
Fields inherited from class org.deegree.graphics.sld.AbstractLayer
layerFeatureConstraints, name, styles
 
Constructor Summary
UserLayer(java.lang.String name, LayerFeatureConstraints layerFeatureConstraints, AbstractStyle[] userStyles, RemoteOWS remoteOWS)
          constructor initializing the class with the <UserLayer>
 
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 <RemoteOWS>
 java.lang.String toString()
          returns a STring-Representation of the layer
 
Methods inherited from class org.deegree.graphics.sld.AbstractLayer
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
 

Constructor Detail

UserLayer

public UserLayer(java.lang.String name,
                 LayerFeatureConstraints layerFeatureConstraints,
                 AbstractStyle[] userStyles,
                 RemoteOWS remoteOWS)
constructor initializing the class with the <UserLayer>

Parameters:
name -
layerFeatureConstraints -
userStyles -
remoteOWS -
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.

Returns:
the RemoteOWS

setRemoteOWS

public void setRemoteOWS(RemoteOWS remoteOWS)
sets the <RemoteOWS>

Parameters:
remoteOWS - the RemoteOWS

toString

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

Overrides:
toString in class AbstractLayer
Returns:
the layer as String

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

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org