org.deegree_impl.services.wms.capabilities
Class Format_Impl

java.lang.Object
  extended byorg.deegree_impl.services.wms.capabilities.Format_Impl
All Implemented Interfaces:
Format

class Format_Impl
extends java.lang.Object
implements Format

describes the format a WMS can serve for GetMap, GetFeatureInfo, GetStyle etc. requests. Each request describes its own list of possible formats.

Version:
$Revision: 1.1 $
Author:
Andreas Poth

Field Summary
private  java.lang.String name
           
private  java.net.URL url
           
 
Constructor Summary
Format_Impl(java.lang.String name)
          Creates a new Format_Impl object.
Format_Impl(java.lang.String name, java.net.URL url)
          Creates a new Format_Impl object.
 
Method Summary
 java.net.URL getFilter()
          returns the URL where a XSLT-script for filtering the result of a GetFeatureInfo request can be accessed.
 java.lang.String getName()
          returns the name of the format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

private java.lang.String name

url

private java.net.URL url
Constructor Detail

Format_Impl

public Format_Impl(java.lang.String name)
Creates a new Format_Impl object.

Parameters:
name - name of the format

Format_Impl

public Format_Impl(java.lang.String name,
                   java.net.URL url)
Creates a new Format_Impl object.

Parameters:
name - name of the format
url - URL from where the filter for transforming a GetFeatureInfo response can be accessed
Method Detail

getFilter

public java.net.URL getFilter()
returns the URL where a XSLT-script for filtering the result of a GetFeatureInfo request can be accessed. For any other formats then those of a GetFeatureInfo response the method returns null.

Specified by:
getFilter in interface Format
Returns:

getName

public java.lang.String getName()
returns the name of the format

Specified by:
getName in interface Format
Returns: