|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zkoss.zel.BeanNameResolver org.zkoss.xel.zel.XelELResolver.StandardBeanNameResolver
protected static class XelELResolver.StandardBeanNameResolver
It's a class copied from StandardELContext
Constructor Summary | |
---|---|
XelELResolver.StandardBeanNameResolver(java.util.Map<java.lang.String,java.lang.Object> beans)
|
Method Summary | |
---|---|
boolean |
canCreateBean(java.lang.String beanName)
Is it permitted to create a bean of the given name? |
java.lang.Object |
getBean(java.lang.String beanName)
Returns the named bean. |
boolean |
isNameResolved(java.lang.String beanName)
Can this resolver resolve the given bean name? |
boolean |
isReadOnly(java.lang.String beanName)
Is the named bean read-only? |
void |
setBeanValue(java.lang.String beanName,
java.lang.Object value)
Sets a value of a bean of the given name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XelELResolver.StandardBeanNameResolver(java.util.Map<java.lang.String,java.lang.Object> beans)
Method Detail |
---|
public boolean isNameResolved(java.lang.String beanName)
BeanNameResolver
isNameResolved
in class BeanNameResolver
beanName
- The bean name to resolve
false
public java.lang.Object getBean(java.lang.String beanName)
BeanNameResolver
getBean
in class BeanNameResolver
beanName
- The bean name to return
null
public void setBeanValue(java.lang.String beanName, java.lang.Object value) throws PropertyNotWritableException
BeanNameResolver
BeanNameResolver.canCreateBean(java.lang.String)
returns true
then a bean
is created with the given value.
setBeanValue
in class BeanNameResolver
beanName
- The name of the bean to be set/createvalue
- The value of the bean to set/create
PropertyNotWritableException
- if the bean is read onlypublic boolean isReadOnly(java.lang.String beanName)
BeanNameResolver
isReadOnly
in class BeanNameResolver
beanName
- The name of the bean of interest
true
if the bean is read only, otherwise
false
public boolean canCreateBean(java.lang.String beanName)
BeanNameResolver
canCreateBean
in class BeanNameResolver
beanName
- The name of the bean of interest
true
if the bean may be created, otherwise
false
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |