|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.myfaces.extensions.validator.core.factory.AbstractNameMapperAwareFactory<T>
public abstract class AbstractNameMapperAwareFactory<T>
Default implementation of a NameMapperAwareFactory where the concrete implementation is responsible for the storage of the list of nameMappers.
Constructor Summary | |
---|---|
AbstractNameMapperAwareFactory()
|
Method Summary | |
---|---|
void |
deny(Class<? extends NameMapper> classToDeny)
Deregisters existing NameMapper s of the given type and deny the type for NameMapper which
might be added later on. |
void |
deregister(Class<? extends NameMapper> classToDeregister)
Removes all NameMapper s of the given type. |
protected Comparator<NameMapper<T>> |
getComparator()
|
protected abstract List<NameMapper<T>> |
getNameMapperList()
|
void |
register(NameMapper<T> nameMapper)
Registers a new NameMapper which should be used for the mapping process. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractNameMapperAwareFactory()
Method Detail |
---|
public void register(NameMapper<T> nameMapper)
NameMapperAwareFactory
NameMapper
which should be used for the mapping process.
It will be used if it isn't denied.
register
in interface NameMapperAwareFactory<NameMapper<T>>
nameMapper
- NameMapper
to addprotected Comparator<NameMapper<T>> getComparator()
public void deregister(Class<? extends NameMapper> classToDeregister)
NameMapperAwareFactory
NameMapper
s of the given type.
deregister
in interface NameMapperAwareFactory<NameMapper<T>>
classToDeregister
- nameMapper to remove.public void deny(Class<? extends NameMapper> classToDeny)
NameMapperAwareFactory
NameMapper
s of the given type and deny the type for NameMapper
which
might be added later on.
deny
in interface NameMapperAwareFactory<NameMapper<T>>
classToDeny
- NameMapper
to denyprotected abstract List<NameMapper<T>> getNameMapperList()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |