|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zkoss.zk.ui.metainfo.VariableResolverInfo
public class VariableResolverInfo
A definition of the variable resolver (VariableResolver).
Note: we resolve the class by use fo Classes.forNameByThread. In other words, it doesn't support the class defined in zscript. Why not? Since there is no way to run zscript before the variable-resolver directive (and better performance).
| Constructor Summary | |
|---|---|
VariableResolverInfo(java.lang.Class cls)
Constructs with a class. |
|
VariableResolverInfo(java.lang.Class cls,
java.util.Collection args)
Constructs with a class. |
|
VariableResolverInfo(java.lang.String clsnm)
Constructs with a class name. |
|
VariableResolverInfo(java.lang.String clsnm,
java.util.Collection args)
Constructs with a class name. |
|
VariableResolverInfo(VariableResolver resolver)
Constructs with an initiator that will be reuse each time newVariableResolver(org.zkoss.zk.ui.metainfo.PageDefinition, org.zkoss.zk.ui.Page) is called. |
|
| Method Summary | |
|---|---|
VariableResolver |
newVariableResolver(PageDefinition pgdef,
Page page)
Creaetes and returns the variable resolver for the specified page. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public VariableResolverInfo(java.lang.Class cls,
java.util.Collection args)
public VariableResolverInfo(java.lang.Class cls)
public VariableResolverInfo(java.lang.String clsnm,
java.util.Collection args)
throws java.lang.ClassNotFoundException
clsnm - the class name; it could be an EL expression.
java.lang.ClassNotFoundException
public VariableResolverInfo(java.lang.String clsnm)
throws java.lang.ClassNotFoundException
clsnm - the class name; it could be an EL expression.
java.lang.ClassNotFoundExceptionpublic VariableResolverInfo(VariableResolver resolver)
newVariableResolver(org.zkoss.zk.ui.metainfo.PageDefinition, org.zkoss.zk.ui.Page) is called.
| Method Detail |
|---|
public VariableResolver newVariableResolver(PageDefinition pgdef,
Page page)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||