|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.portals.graffito.jcr.persistence.atomictypeconverter.impl.AtomicTypeConverterProviderImpl
public class AtomicTypeConverterProviderImpl
Implementation of AtomicTypeConverterProvider
.
Field Summary | |
---|---|
protected java.util.Map |
m_converterInstances
|
protected java.util.Map |
m_converters
|
Constructor Summary | |
---|---|
AtomicTypeConverterProviderImpl()
No-arg constructor. |
|
AtomicTypeConverterProviderImpl(java.util.Map converters)
Full constructor. |
Method Summary | |
---|---|
AtomicTypeConverter |
getAtomicTypeConverter(java.lang.Class clazz)
Retrieves the AtomicTypeConverter associated with a class. |
java.util.Map |
getAtomicTypeConverters()
Returns a map of all registered AtomicTypeConverter |
void |
setAtomicTypeConvertors(java.util.Map converters)
Sets the associations of classes and their AtomicTypeConverter
classes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Map m_converters
protected java.util.Map m_converterInstances
Constructor Detail |
---|
public AtomicTypeConverterProviderImpl()
public AtomicTypeConverterProviderImpl(java.util.Map converters)
converters
- a map of classes and their associated AtomicTypeConverter
classes.Method Detail |
---|
public void setAtomicTypeConvertors(java.util.Map converters)
AtomicTypeConverter
classes.
converters
- Map
public AtomicTypeConverter getAtomicTypeConverter(java.lang.Class clazz)
AtomicTypeConverterProvider
AtomicTypeConverter
associated with a class.
getAtomicTypeConverter
in interface AtomicTypeConverterProvider
clazz
- a class
AtomicTypeConverter
or null
if the class has no AtomicTypeConverter
associatedAtomicTypeConverterProvider.getAtomicTypeConverter(java.lang.Class)
public java.util.Map getAtomicTypeConverters()
AtomicTypeConverterProvider
AtomicTypeConverters.
- Specified by:
getAtomicTypeConverters
in interface AtomicTypeConverterProvider
- Returns:
Map
- See Also:
AtomicTypeConverterProvider.getAtomicTypeConverters()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |