org.zkoss.bind.impl
Class TemplateResolverImpl
java.lang.Object
org.zkoss.bind.impl.TemplateResolverImpl
- All Implemented Interfaces:
- java.io.Serializable, TemplateResolver
public class TemplateResolverImpl
- extends java.lang.Object
- implements TemplateResolver, java.io.Serializable
rename it to template binding?
- Since:
- 6.0.0
- Author:
- dennis
- See Also:
- Serialized Form
Constructor Summary |
TemplateResolverImpl(Binder binder,
Component comp,
java.lang.String attr,
java.lang.String templateExpr,
java.util.Map<java.lang.String,java.lang.Object> templateArgs)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TemplateResolverImpl
public TemplateResolverImpl(Binder binder,
Component comp,
java.lang.String attr,
java.lang.String templateExpr,
java.util.Map<java.lang.String,java.lang.Object> templateArgs)
getExpression
public java.lang.String getExpression()
resolveTemplate
public Template resolveTemplate(Component eachComp,
java.lang.Object eachData,
int index,
int size)
- Description copied from interface:
TemplateResolver
- Resolve the template for the component
- Specified by:
resolveTemplate
in interface TemplateResolver
- Parameters:
eachComp
- the template to be resolved of the componenteachData
- the data for resolverindex
- the index of eachsize
- the size of data set
- Returns:
- the template if exist.
addTemplateTracking
public void addTemplateTracking(Component eachComp)
- Description copied from interface:
TemplateResolver
- Add template tracking to component
- Specified by:
addTemplateTracking
in interface TemplateResolver
- Parameters:
eachComp
- the component to add template tracking
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2005-2011 Potix Corporation. All Rights Reserved.