|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.graphics.sld.AbstractLayer
public abstract class AbstractLayer
----------------------------------------------------------------------
Field Summary | |
---|---|
protected LayerFeatureConstraints |
layerFeatureConstraints
The feature contrains |
protected java.lang.String |
name
name of the layer. |
protected java.util.List<AbstractStyle> |
styles
the styles |
Constructor Summary | |
---|---|
AbstractLayer(java.lang.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. |
java.lang.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(java.lang.String name)
sets the |
void |
setStyles(AbstractStyle[] styles)
Adds styles to the Layer. |
java.lang.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 java.util.List<AbstractStyle> styles
protected java.lang.String name
Constructor Detail |
---|
AbstractLayer(java.lang.String name, LayerFeatureConstraints layerFeatureConstraints, AbstractStyle[] styles)
name
- layerFeatureConstraints
- styles
- Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
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