org.deegree_impl.services.capabilities
Class MetadataURL_Impl

java.lang.Object
  extended byorg.deegree_impl.ogcbasic.BaseURL_Impl
      extended byorg.deegree_impl.services.capabilities.MetadataURL_Impl
All Implemented Interfaces:
BaseURL, Marshallable, MetadataURL

public class MetadataURL_Impl
extends BaseURL_Impl
implements MetadataURL, Marshallable

A WFS/WMS/WCS should use one or more elements to offer detailed, standardized metadata about the data underneath a particular layer. The type attribute indicates the standard to which the metadata complies. Two types are defined at present: the value 'TC211' refers to [ISO 19115]; the value 'FGDC' refers to [FGDC-STD-001-1988]. The MetadataURL element shall not be used to reference metadata in a non-standardized metadata format

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

Version:
$Revision: 1.8 $
Author:
Katharina Lupp, Markus Schneider

Field Summary
private  java.lang.String type
           
 
Fields inherited from class org.deegree_impl.ogcbasic.BaseURL_Impl
 
Fields inherited from interface org.deegree.services.capabilities.MetadataURL
FGDC, TC211
 
Constructor Summary
MetadataURL_Impl(java.lang.String type, java.lang.String format, java.net.URL onlineResource)
          constructor initializing the class with the
 
Method Summary
 java.lang.String exportAsXML()
          Returns an XML representation of this object.
 java.lang.String getType()
          returns the type attribute indicating the standard to which the metadata complies.
 void setType(java.lang.String type)
          sets the type attribute indicating the standard to which the metadata complies.
 java.lang.String toString()
           
 
Methods inherited from class org.deegree_impl.ogcbasic.BaseURL_Impl
getFormat, getOnlineResource, setFormat, setOnlineResource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.deegree.ogcbasic.BaseURL
getFormat, getOnlineResource
 

Field Detail

type

private java.lang.String type
Constructor Detail

MetadataURL_Impl

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

Method Detail

getType

public java.lang.String getType()
returns the type attribute indicating the standard to which the metadata complies.

Specified by:
getType in interface MetadataURL

setType

public void setType(java.lang.String type)
sets the type attribute indicating the standard to which the metadata complies.


toString

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

exportAsXML

public java.lang.String exportAsXML()
Returns an XML representation of this object.

Specified by:
exportAsXML in interface Marshallable
Returns:
XML-representation of this object