deegree 2.3 (2010/04/09 10:10 build-4-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: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18. Jun 2009) $
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>

Parameters:
format -
onlineResource -
Method Detail

getFormat

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

Returns:
the MIME type of the resource

setFormat

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

Parameters:
format -

getOnlineResource

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

Returns:
the address (URL) of the resource

setOnlineResource

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

Parameters:
onlineResource -

toString

public String toString()
Overrides:
toString in class Object

deegree 2.3 (2010/04/09 10:10 build-4-official)

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