org.exolab.castor.mapping
Interface ConfigurableFieldHandler

All Superinterfaces:
FieldHandler
All Known Implementing Classes:
AbstractFieldHandler, CollectionFieldHandler, DateFieldHandler, EnumFieldHandler, FieldHandlerImpl, GeneralizedFieldHandler, SQLTimeFieldHandler, SQLTimestampFieldHandler, ToStringFieldHandler, TransientFieldHandler, ValueOfFieldHandler, XMLFieldHandler

public interface ConfigurableFieldHandler
extends FieldHandler

A FieldHandler that can be configured with any kind of data. It's the responsibility of the implementing class to do something useful with the configuration data.

Version:
$Revision: $
Author:
Tom van den Berge
See Also:
FieldHandler

Method Summary
 void setConfiguration(java.util.Properties config)
          Set the configuration data.
 
Methods inherited from interface org.exolab.castor.mapping.FieldHandler
checkValidity, getValue, newInstance, resetValue, setValue
 

Method Detail

setConfiguration

void setConfiguration(java.util.Properties config)
                      throws ValidityException
Set the configuration data. It will override any previously set configuration.

Parameters:
config - the configuration data.
Throws:
ValidityException - if config is invalid for this FieldHandler.


Copyright © 2011. All Rights Reserved.