|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sdm.quasar.client.core.dialog.AbstractFeature
com.sdm.quasar.client.jsf.binding.features.KeywordResolverFeature
This Feature implements a KeywordResolverService
providing a KeywordResolver. Other KeywordResolver
may be registrated at this: The implemented KeywordResolver asks
its registered KeywordResolver for resolving the given keyword.
| Constructor Summary | |
KeywordResolverFeature()
|
|
| Method Summary | |
boolean |
canResolve(java.lang.String keyword)
Checks, if this resolver is responsible to resolve the given keyword |
protected void |
dispose()
Called when the feature or dialog is disposed. Override this method to clean up resources and free memory when disposing. |
KeywordResolver |
getKeywordResolver()
|
java.lang.Class |
getResolvedType(java.lang.String keyword)
|
protected void |
init()
Called when the feature is initializing. This is normally done, when the feature is connected to the lifecycle of the DialogControl installed to. To access the
DialogControl use the AbstractFeature.getDialogControl() method.
Override this method to perform some action on initialization e.g. register public services. |
void |
registerKeywordResolver(java.lang.String keyword,
KeywordResolver keywordResolver)
|
java.lang.Object |
resolve(java.lang.String keyword)
Performs the resolve step according to the keyword. |
| Methods inherited from class com.sdm.quasar.client.core.dialog.AbstractFeature |
activate, attachDialogControl, collectSystemInfo, deactivate, disposeFeature, getDialogControl, isInitialized, prepare, release |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public KeywordResolverFeature()
| Method Detail |
protected void init()
DialogControl installed to. To access the
DialogControl use the AbstractFeature.getDialogControl() method.
Override this method to perform some action on initialization e.g. register public services.
init in class AbstractFeatureAbstractFeature.init()
protected void dispose()
throws DisposeException
dispose in class AbstractFeatureDisposeExceptioncom.sdm.quasar.client.core.dialog.AbstractFeature#disposing()public KeywordResolver getKeywordResolver()
getKeywordResolver in interface KeywordResolverServiceKeywordResolver of the dialog,
that provides this service.public java.lang.Object resolve(java.lang.String keyword)
KeywordResolverKeywordResolver to do the next resolve step ValueResolver for value binding to resolve a valueActionResolver for action binding to resolve an action
resolve in interface KeywordResolverkeyword - the keyword to be resolve
public java.lang.Class getResolvedType(java.lang.String keyword)
getResolvedType in interface KeywordResolverkeyword - the keyword to be resolve
public boolean canResolve(java.lang.String keyword)
KeywordResolver
canResolve in interface KeywordResolverkeyword - the keywort to be resolved
public void registerKeywordResolver(java.lang.String keyword,
KeywordResolver keywordResolver)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||