| org.compass.core.converter.ConverterLookup
All known Subclasses: org.compass.core.converter.DefaultConverterLookup,
ConverterLookup | public interface ConverterLookup extends CompassConfigurable(Code) | | Provides the ability to lookup a converter based on it's type. The type is
the actual Class that should be converted by the returned
Converter .
author: kimchy See Also: Converter |
getSettings | CompassSettings getSettings()(Code) | | Return the settings that this converter was created with.
|
lookupConverter | Converter lookupConverter(Class type)(Code) | | Looks up a converter based on the Class type.
Parameters: type - The class to look the converter for The converter that match for the given class type. |
registerConverter | void registerConverter(String converterName, Converter converter)(Code) | | Registers a
Converter under a converter name.
Parameters: converterName - The converter name to be registered against Parameters: converter - The converter to use |
registerConverter | void registerConverter(String converterName, Converter converter, Class registerType)(Code) | | Registers a
Converter under the converter name. Also associates
the converter with the given type.
Parameters: converterName - The converter name to be registered against Parameters: converter - The converter to use Parameters: registerType - The type to associate the converter with |
|
|