org.deegree_impl.clients.context
Class ViewContextReference
java.lang.Object
org.deegree_impl.clients.context.ViewContextReference
- All Implemented Interfaces:
- Marshallable
- public class ViewContextReference
- extends java.lang.Object
- implements Marshallable
This class encapsulates a reference to a Web Map Context document as defined
int the OGC Web Map Context specification
- Version:
- $Revision: 1.1 $
- Author:
- Andreas Poth
Field Summary |
private java.net.URL |
contextURL
|
private java.lang.String |
title
|
Constructor Summary |
ViewContextReference(java.lang.String title,
java.net.URL contextURL)
Creates a new ViewContextReference object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
title
private java.lang.String title
contextURL
private java.net.URL contextURL
ViewContextReference
public ViewContextReference(java.lang.String title,
java.net.URL contextURL)
throws ContextException
- Creates a new ViewContextReference object.
- Parameters:
title
- title of the contextcontextURL
- URL where to access the context
- Throws:
ContextException
getTitle
public java.lang.String getTitle()
- Returns:
setTitle
public void setTitle(java.lang.String title)
throws ContextException
- Parameters:
title
-
- Throws:
ContextException
getContextURL
public java.net.URL getContextURL()
- Returns:
setContextURL
public void setContextURL(java.net.URL contextURL)
throws ContextException
- Parameters:
contextURL
-
- 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: