Package org.zkoss.bind.sys
Interface TemplateResolver
-
- All Known Implementing Classes:
TemplateResolverImpl
,TemplateResolverImpl
public interface TemplateResolver
Resolver for Template- Since:
- 6.0.0
- Author:
- dennis
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
EACH_ATTR
static java.lang.String
EACH_STATUS_VAR
static java.lang.String
EACH_VAR
static java.lang.String
STATUS_ATTR
static java.lang.String
TEMPLATE_OBJECT
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addTemplateTracking(Component eachComp, java.lang.Object eachData, int index, int size)
Add template tracking to componentTemplate
resolveTemplate(Component eachComp, java.lang.Object eachData, int index, int size, java.lang.String subType)
Resolve the template for the component
-
-
-
Field Detail
-
EACH_ATTR
static final java.lang.String EACH_ATTR
- See Also:
- Constant Field Values
-
EACH_VAR
static final java.lang.String EACH_VAR
- See Also:
- Constant Field Values
-
STATUS_ATTR
static final java.lang.String STATUS_ATTR
- See Also:
- Constant Field Values
-
EACH_STATUS_VAR
static final java.lang.String EACH_STATUS_VAR
- See Also:
- Constant Field Values
-
TEMPLATE_OBJECT
static final java.lang.String TEMPLATE_OBJECT
- See Also:
- Constant Field Values
-
-
Method Detail
-
resolveTemplate
Template resolveTemplate(Component eachComp, java.lang.Object eachData, int index, int size, java.lang.String subType)
Resolve the template for the component- Parameters:
eachComp
- the template to be resolved of the componenteachData
- the data for resolverindex
- the index of eachsize
- the size of data setsubType
- the sub-type of template should be resolved- Returns:
- the template if exist.
- Since:
- 7.0.0
-
addTemplateTracking
void addTemplateTracking(Component eachComp, java.lang.Object eachData, int index, int size)
Add template tracking to component- Parameters:
eachComp
- the template to be resolved of the componenteachData
- the data for resolverindex
- the index of eachsize
- the size of data set
-
-