Interface ViewDispatcher
-
public interface ViewDispatcherThe Interface ViewDispatcher.- Since:
- 2008. 03. 23
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringVIEW_DISPATCHER_SETTING_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddispatch(Activity activity, DispatchRule dispatchRule)Dispatch to other resources as the given rule.java.lang.StringgetContentType()booleanisSingleton()Return whether this view dispatcher corresponds to a singleton instance.
-
-
-
Field Detail
-
VIEW_DISPATCHER_SETTING_NAME
static final java.lang.String VIEW_DISPATCHER_SETTING_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getContentType
java.lang.String getContentType()
-
dispatch
void dispatch(Activity activity, DispatchRule dispatchRule) throws ViewDispatcherException
Dispatch to other resources as the given rule.- Parameters:
activity- the current activitydispatchRule- the dispatch rule- Throws:
ViewDispatcherException- the view dispatch exception
-
isSingleton
boolean isSingleton()
Return whether this view dispatcher corresponds to a singleton instance.- Returns:
- whether this view dispatcher corresponds to a singleton instance
-
-