Package org.zkoss.zats.mimic.impl
Interface ValueResolver
-
public interface ValueResolverValueResolver will try to convert a ComponentAgent to the object of specified class. If failed, it will throw run-time exception. A ComponentAgent can be converted into multiple types of objects, e.g. OperationAgent or native ZK component class. We design the value resolver mechanism to keep extension for potential conversion in the future.- Author:
- dennis
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> Tresolve(Agent agent, Class<T> clazz)resolve the component agent to a object by registered value resolver
-