org.deegree_impl.clients.context
Class ViewContextReference

java.lang.Object
  extended byorg.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.
 
Method Summary
 java.lang.String exportAsXML()
          Produces an XML-representation of this object.
 java.net.URL getContextURL()
           
 java.lang.String getTitle()
           
 void setContextURL(java.net.URL contextURL)
           
 void setTitle(java.lang.String title)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

title

private java.lang.String title

contextURL

private java.net.URL contextURL
Constructor Detail

ViewContextReference

public ViewContextReference(java.lang.String title,
                            java.net.URL contextURL)
                     throws ContextException
Creates a new ViewContextReference object.

Parameters:
title - title of the context
contextURL - URL where to access the context
Throws:
ContextException
Method Detail

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: