org.deegree_impl.ogcbasic
Class BaseURL_Impl

java.lang.Object
  extended byorg.deegree_impl.ogcbasic.BaseURL_Impl
All Implemented Interfaces:
BaseURL
Direct Known Subclasses:
AuthorityURL_Impl, DataURL_Impl, FeatureListURL_Impl, ImageURL, MetadataURL_Impl, StyleSheetURL_Impl, StyleURL_Impl

public class BaseURL_Impl
extends java.lang.Object
implements BaseURL

This is the base interface of all capabilities URL-fields. The element in XXXXURL indicates the MIME type of the resource. The address is represented by the element.

----------------------------------------------------------------------

Version:
2002-03-01
Author:
Katharina Lupp

Field Summary
private  java.lang.String format
           
private  java.net.URL onlineResource
           
 
Constructor Summary
BaseURL_Impl(java.lang.String format, java.net.URL onlineResource)
          constructor initializing the class with the
 
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
 

Field Detail

format

private java.lang.String format

onlineResource

private java.net.URL onlineResource
Constructor Detail

BaseURL_Impl

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

Method Detail

getFormat

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

Specified by:
getFormat in interface BaseURL

setFormat

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


getOnlineResource

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

Specified by:
getOnlineResource in interface BaseURL

setOnlineResource

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


toString

public java.lang.String toString()
Returns: