Interface ViewDispatcher
- All Known Implementing Classes:
FreeMarkerViewDispatcher
,JspTemplateViewDispatcher
,JspViewDispatcher
,PebbleViewDispatcher
public interface ViewDispatcher
The Interface ViewDispatcher.
- Since:
- 2008. 03. 23
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispatch
(Activity activity, DispatchRule dispatchRule) Dispatch to other resources as the given rule.boolean
Return whether this view dispatcher corresponds to a singleton instance.
-
Field Details
-
VIEW_DISPATCHER_SETTING_NAME
- See Also:
-
-
Method Details
-
getContentType
String getContentType() -
dispatch
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
-