Class DesktopBookmarkAgentBuilder
- java.lang.Object
-
- org.zkoss.zats.mimic.impl.operation.DesktopBookmarkAgentBuilder
-
- All Implemented Interfaces:
OperationAgentBuilder<DesktopAgent,BookmarkAgent>
public class DesktopBookmarkAgentBuilder extends Object implements OperationAgentBuilder<DesktopAgent,BookmarkAgent>
- Author:
- dennis
-
-
Constructor Summary
Constructors Constructor Description DesktopBookmarkAgentBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BookmarkAgentgetOperation(DesktopAgent agent)This method create and return a specific implementation ofOperationAgentobject for specified OperationAgent class.Class<BookmarkAgent>getOperationClass()Provide class information for registration.
-
-
-
Method Detail
-
getOperation
public BookmarkAgent getOperation(DesktopAgent agent)
Description copied from interface:OperationAgentBuilderThis method create and return a specific implementation ofOperationAgentobject for specified OperationAgent class. Similar to factory pattern.- Specified by:
getOperationin interfaceOperationAgentBuilder<DesktopAgent,BookmarkAgent>- Returns:
- the operation agent
-
getOperationClass
public Class<BookmarkAgent> getOperationClass()
Description copied from interface:OperationAgentBuilderProvide class information for registration.- Specified by:
getOperationClassin interfaceOperationAgentBuilder<DesktopAgent,BookmarkAgent>- Returns:
- a sub-class of
OperationAgent
-
-