org.sape.carbon.core.config.type
Interface ConfigurationTypeServiceConfiguration.TypeHandlerConfiguration

All Superinterfaces:
Configuration
Enclosing interface:
ConfigurationTypeServiceConfiguration

public static interface ConfigurationTypeServiceConfiguration.TypeHandlerConfiguration
extends Configuration

This interface defines the configuration for a single configuration type handler.


Method Summary
 Class getType()
          Retrieves the Class type handled by this type handler
 Class getTypeHandlerClass()
          Gets the class of the handler.
 void setType(Class type)
          Sets the type handled by this type handler
 void setTypeHandlerClass(Class typeHandler)
          Sets the type of the handler.
 
Methods inherited from interface org.sape.carbon.core.config.Configuration
clone, getConfigurationInterface, getConfigurationName, getDataStructure, getRootElement, isConfigurationWritable, setConfigurationName, setConfigurationReadOnly
 

Method Detail

getType

public Class getType()
Retrieves the Class type handled by this type handler

Returns:
the type handled by this type handler

setType

public void setType(Class type)
Sets the type handled by this type handler

Parameters:
type - the type handled by this type handler

getTypeHandlerClass

public Class getTypeHandlerClass()
Gets the class of the handler. This Class must implement either ComplexConfigurationTypeHandler or ConfigurationTypeHandler.

Returns:
the clas of the handler

setTypeHandlerClass

public void setTypeHandlerClass(Class typeHandler)
Sets the type of the handler. This Class must implement either ComplexConfigurationTypeHandler or ConfigurationTypeHandler.

Parameters:
typeHandler - the type handler class to handle these types


Copyright 1999-2003 Sapient Corporation. All Rights Reserved.