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
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
 void addTemplateTracking(Component eachComp)
          Deprecated. since 6.5.3
 void addTemplateTracking(Component eachComp, java.lang.Object eachData, int index, int size)
          Add template tracking to component
 Template resolveTemplate(Component eachComp, java.lang.Object eachData, int index, int size)
          Deprecated. since 7.0.0 use resolveTemplate(Component, Object, int, int, String)
 Template 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 component
eachData - the data for resolver
index - the index of each
size - the size of data set
subType - the sub-type of template should be resolved
Returns:
the template if exist.
Since:
7.0.0

resolveTemplate

@Deprecated
Template resolveTemplate(Component eachComp,
                                    java.lang.Object eachData,
                                    int index,
                                    int size)
Deprecated. since 7.0.0 use resolveTemplate(Component, Object, int, int, String)


addTemplateTracking

@Deprecated
void addTemplateTracking(Component eachComp)
Deprecated. since 6.5.3

Add template tracking to component

Parameters:
eachComp - the component to add template tracking

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 component
eachData - the data for resolver
index - the index of each
size - the size of data set


Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo