deegree 2.2 (2008/12/22 11:33 build-3038-official)

org.deegree.ogcbase
Class BaseURL

java.lang.Object
  extended by org.deegree.ogcbase.BaseURL
Direct Known Subclasses:
AuthorityURL, DatasetReference, DataURL, FeatureListReference, FeatureListURL, ImageURL, MetaData, MetadataURL, OWSCapabilities, StyleSheetURL, StyleSheetURL, StyleURL, StyleURL

public class BaseURL
extends Object

The address is represented by the <onlineResource> element.

Since:
1.0
Version:
2002-03-01, $Revision: 9344 $, $Date: 2007-12-27 17:21:56 +0100 (Do, 27 Dez 2007) $
Author:
Katharina Lupp

Constructor Summary
BaseURL(String format, URL onlineResource)
          constructor initializing the class with the <BaseURL>
 
Method Summary
 String getFormat()
          returns the MIME type of the resource
 URL getOnlineResource()
          returns the address (URL) of the resource
 void setFormat(String format)
          sets the MIME type of the resource
 void setOnlineResource(URL onlineResource)
          returns the address (URL) of the resource
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BaseURL

public BaseURL(String format,
               URL onlineResource)
constructor initializing the class with the <BaseURL>

Method Detail

getFormat

public String getFormat()
returns the MIME type of the resource


setFormat

public void setFormat(String format)
sets the MIME type of the resource


getOnlineResource

public URL getOnlineResource()
returns the address (URL) of the resource


setOnlineResource

public void setOnlineResource(URL onlineResource)
returns the address (URL) of the resource


toString

public String toString()
Overrides:
toString in class Object
Returns:

deegree 2.2 (2008/12/22 11:33 build-3038-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net