org.deegree.services.controller
Class ImplementationMetadata<T extends java.lang.Enum<?>>

java.lang.Object
  extended by org.deegree.services.controller.ImplementationMetadata<T>
Type Parameters:
T -

public abstract class ImplementationMetadata<T extends java.lang.Enum<?>>
extends java.lang.Object

This class contains metadata information on the details of an implementation of a AbstractOGCServiceController.

Contained information:

Version:
$Revision: 23152 $, $Date: 2010-03-18 11:20:56 +0100 (Do, 18. Mär 2010) $
Author:
Oliver Tonnhofer, Markus Schneider, last edited by: $Author: mschneider $

Field Summary
protected  boolean citeTestMode
          should the cite test mode be enabled, meaning, that requests should be in the same case as they were defined in the specification?
protected  java.lang.String[] handledNamespaces
          The namespaces of this service.
protected  java.lang.Class<T> handledRequests
          An enum with all supported request names.
protected  org.deegree.commons.tom.ows.Version[] supportedConfigVersions
          The supportedConfigVersions of this service implementation.
protected  org.deegree.commons.tom.ows.Version[] supportedVersions
          The supportedVersions of this service implementation.
 
Constructor Summary
ImplementationMetadata()
           
 
Method Summary
 java.util.Set<java.lang.String> getHandledNamespaces()
          Returns the namespaces of request elements handled by the associated controller.
 java.util.Set<java.lang.String> getHandledRequests()
          Returns the (local) names of the requests handled by the associated controller.
 java.util.Set<org.deegree.commons.tom.ows.Version> getImplementedVersions()
          Returns the OGC versions supported by the associated controller implementation.
 T getRequestTypeByName(java.lang.String requestName)
          find an enum type by a given name ignoring case, or if the citetest mode is enabled map perfectly.
 java.util.Set<org.deegree.commons.tom.ows.Version> getSupportedConfigVersions()
          Returns the configuration file versions supported by the associated controller implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

supportedVersions

protected org.deegree.commons.tom.ows.Version[] supportedVersions
The supportedVersions of this service implementation.


supportedConfigVersions

protected org.deegree.commons.tom.ows.Version[] supportedConfigVersions
The supportedConfigVersions of this service implementation.


handledNamespaces

protected java.lang.String[] handledNamespaces
The namespaces of this service.


citeTestMode

protected boolean citeTestMode
should the cite test mode be enabled, meaning, that requests should be in the same case as they were defined in the specification?


handledRequests

protected java.lang.Class<T extends java.lang.Enum<?>> handledRequests
An enum with all supported request names.

Constructor Detail

ImplementationMetadata

public ImplementationMetadata()
Method Detail

getHandledRequests

public java.util.Set<java.lang.String> getHandledRequests()
Returns the (local) names of the requests handled by the associated controller.

Returns:
the (local) names of the handled requests

getHandledNamespaces

public java.util.Set<java.lang.String> getHandledNamespaces()
Returns the namespaces of request elements handled by the associated controller.

Returns:
the namespaces of the handled requests

getImplementedVersions

public java.util.Set<org.deegree.commons.tom.ows.Version> getImplementedVersions()
Returns the OGC versions supported by the associated controller implementation.

Returns:
the supported OGC versions

getSupportedConfigVersions

public java.util.Set<org.deegree.commons.tom.ows.Version> getSupportedConfigVersions()
Returns the configuration file versions supported by the associated controller implementation.

Returns:
the supported configuration file versions

getRequestTypeByName

public T getRequestTypeByName(java.lang.String requestName)
find an enum type by a given name ignoring case, or if the citetest mode is enabled map perfectly.

Parameters:
requestName -
Returns:
the Enum type or null if the request was not found.


Copyright © 2011. All Rights Reserved.