|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.fernsroth.easyio.DefaultFieldHandlerRegistry
public class DefaultFieldHandlerRegistry
| Constructor Summary | |
|---|---|
DefaultFieldHandlerRegistry()
|
|
| Method Summary | |
|---|---|
static FieldHandlerRegistry |
getInstance()
gets an instance of the this class. |
FieldHandler |
lookup(java.lang.Object obj,
java.lang.reflect.Field field)
|
void |
register(java.lang.Class<? extends java.lang.annotation.Annotation> an,
FieldHandler handler)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultFieldHandlerRegistry()
| Method Detail |
|---|
public static FieldHandlerRegistry getInstance()
public void register(java.lang.Class<? extends java.lang.annotation.Annotation> an,
FieldHandler handler)
an - the annotation to register.handler - the handler.
public FieldHandler lookup(java.lang.Object obj,
java.lang.reflect.Field field)
lookup in interface FieldHandlerRegistryobj - the object the field belongs to.field - the field we are looking up the FieldHandler for.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||