Class PagingAgentBuilder
- java.lang.Object
-
- org.zkoss.zats.mimic.impl.operation.PagingAgentBuilder
-
- All Implemented Interfaces:
OperationAgentBuilder<ComponentAgent,PagingAgent>
public class PagingAgentBuilder extends Object implements OperationAgentBuilder<ComponentAgent,PagingAgent>
Agent builder for Paging.- Author:
- Hawk
-
-
Constructor Summary
Constructors Constructor Description PagingAgentBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PagingAgentgetOperation(ComponentAgent target)This method create and return a specific implementation ofOperationAgentobject for specified OperationAgent class.Class<PagingAgent>getOperationClass()Provide class information for registration.
-
-
-
Method Detail
-
getOperation
public PagingAgent getOperation(ComponentAgent target)
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<ComponentAgent,PagingAgent>- Returns:
- the operation agent
-
getOperationClass
public Class<PagingAgent> getOperationClass()
Description copied from interface:OperationAgentBuilderProvide class information for registration.- Specified by:
getOperationClassin interfaceOperationAgentBuilder<ComponentAgent,PagingAgent>- Returns:
- a sub-class of
OperationAgent
-
-