org.deegree_impl.clients.context
Class ViewContext
java.lang.Object
org.deegree_impl.clients.context.AbstractContext
org.deegree_impl.clients.context.ViewContext
- All Implemented Interfaces:
- Marshallable
- public class ViewContext
- extends AbstractContext
- implements Marshallable
is the root class of the Web Map Context
- Version:
- $Revision: 1.4 $
- Author:
- Andreas Poth
Fields inherited from class org.deegree_impl.clients.context.AbstractContext |
|
Method Summary |
java.lang.String |
exportAsXML()
Produces an XML-representation of this object.
|
LayerList |
getLayerList()
returns the list of layers contained in this context |
void |
setLayerList(LayerList layerList)
sets the list of layers to be contained in this context |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
layerList
private LayerList layerList
ViewContext
public ViewContext(General general,
LayerList layerList)
throws ContextException
- Creates a new WebMapContext object.
- Parameters:
general
- general informations about the map context and its creatorlayerList
- layers contained in the web map context
getLayerList
public LayerList getLayerList()
- returns the list of layers contained in this context
- Returns:
setLayerList
public void setLayerList(LayerList layerList)
throws ContextException
- sets the list of layers to be contained in this context
- Parameters:
layerList
-
- Throws:
ContextException
exportAsXML
public java.lang.String exportAsXML()
- Description copied from interface:
Marshallable
- Produces an XML-representation of this object.
- Specified by:
exportAsXML
in interface Marshallable
- Returns:
- XML-representation of this object