| 
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.graphics.sld.AbstractLayer
public abstract class AbstractLayer
----------------------------------------------------------------------
| Field Summary | |
|---|---|
protected  LayerFeatureConstraints | 
layerFeatureConstraints
The feature contrains  | 
protected  String | 
name
name of the layer.  | 
protected  List<AbstractStyle> | 
styles
the styles  | 
| Constructor Summary | |
|---|---|
AbstractLayer(String name,
                           LayerFeatureConstraints layerFeatureConstraints,
                           AbstractStyle[] styles)
constructor initializing the class with the  | 
|
| Method Summary | |
|---|---|
 void | 
addStyle(AbstractStyle style)
 | 
 LayerFeatureConstraints | 
getLayerFeatureConstraints()
The LayerFeatureConstraints element is optional in a NamedLayer and allows the user to specify constraints on what features of what feature types are to be selected by the named-layer reference.  | 
 String | 
getName()
The Name element identifies the well-known name of the layer being referenced, and is required.  | 
 AbstractStyle[] | 
getStyles()
Returns the styles associated to the Layer.  | 
 void | 
removeStyle(AbstractStyle style)
 | 
 void | 
setLayerFeatureConstraints(LayerFeatureConstraints layerFeatureConstraints)
sets the  | 
 void | 
setName(String name)
sets the  | 
 void | 
setStyles(AbstractStyle[] styles)
Adds styles to the Layer.  | 
 String | 
toString()
returns a STring-Representation of the layer  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Methods inherited from interface org.deegree.framework.xml.Marshallable | 
|---|
exportAsXML | 
| Field Detail | 
|---|
protected LayerFeatureConstraints layerFeatureConstraints
protected List<AbstractStyle> styles
protected String name
| Constructor Detail | 
|---|
AbstractLayer(String name,
              LayerFeatureConstraints layerFeatureConstraints,
              AbstractStyle[] styles)
name - layerFeatureConstraints - styles - | Method Detail | 
|---|
public String getName()
public void setName(String name)
name - the name of the layerpublic LayerFeatureConstraints getLayerFeatureConstraints()
public void setLayerFeatureConstraints(LayerFeatureConstraints layerFeatureConstraints)
layerFeatureConstraints - the LayerFeatureConstraintspublic AbstractStyle[] getStyles()
A UserStyle is at the same semantic level as a NamedStyle used in the context of a WMS. In a sense, a named style can be thought of as a reference to a hidden UserStyle that is stored inside of a map server.
public void setStyles(AbstractStyle[] styles)
styles - the styles for the layer as Arraypublic void addStyle(AbstractStyle style)
style - a style to addgetStyles()public void removeStyle(AbstractStyle style)
style - a style to removegetStyles()public String toString()
toString in class Object
  | 
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
                    For more information visit: http://www.deegree.org