|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjfun.yan.etc.TypedBinder<From,To>
public abstract class TypedBinder<From,To>
This class represents a ComponentBinder whose component type is already known.
| Constructor Summary | |
|---|---|
TypedBinder(java.lang.Class<To> componentType)
Create a TypedBinder. |
|
| Method Summary | |
|---|---|
java.lang.Class<To> |
bindType(java.lang.Class<From> type)
Get the type of the component being bound. |
java.lang.Class<To> |
getType()
Get the component type. |
Verifiable |
verify(java.lang.Class<From> type)
Get a Verifiable object that's responsible for verifying the component being bound. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface jfun.yan.Binder |
|---|
bind |
| Constructor Detail |
|---|
public TypedBinder(java.lang.Class<To> componentType)
componentType - the component type.| Method Detail |
|---|
public java.lang.Class<To> getType()
public java.lang.Class<To> bindType(java.lang.Class<From> type)
ComponentBinder
bindType in interface ComponentBinder<From,To>type - the type of the previous component, it can be null.
public Verifiable verify(java.lang.Class<From> type)
ComponentBinder
verify in interface ComponentBinder<From,To>type - the type of the previous component. It cannot be null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||