deegree 2.5 (2011/06/29 09:44 build-8-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 java.lang.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(java.lang.String format, java.net.URL onlineResource)
          constructor initializing the class with the <BaseURL>
 
Method Summary
 java.lang.String getFormat()
          returns the MIME type of the resource
 java.net.URL getOnlineResource()
          returns the address (URL) of the resource
 void setFormat(java.lang.String format)
          sets the MIME type of the resource
 void setOnlineResource(java.net.URL onlineResource)
          returns the address (URL) of the resource
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BaseURL

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

Parameters:
format -
onlineResource -
Method Detail

getFormat

public java.lang.String getFormat()
returns the MIME type of the resource

Returns:
the MIME type of the resource

setFormat

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

Parameters:
format -

getOnlineResource

public java.net.URL getOnlineResource()
returns the address (URL) of the resource

Returns:
the address (URL) of the resource

setOnlineResource

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

Parameters:
onlineResource -

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

deegree 2.5 (2011/06/29 09:44 build-8-official)

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