Methods Summary |
---|
public abstract java.lang.Class | getCommonPropertyType(javax.el.ELContext context, java.lang.Object base)
|
public abstract java.util.Iterator | getFeatureDescriptors(javax.el.ELContext context, java.lang.Object base)
|
public abstract java.lang.Class | getType(javax.el.ELContext context, java.lang.Object base, java.lang.Object property)
|
public abstract java.lang.Object | getValue(javax.el.ELContext context, java.lang.Object base, java.lang.Object property)
|
public abstract boolean | isReadOnly(javax.el.ELContext context, java.lang.Object base, java.lang.Object property)
|
static java.lang.String | message(javax.el.ELContext context, java.lang.String name, java.lang.Object[] props)
Locale locale = context.getLocale();
if (locale == null) {
locale = Locale.getDefault();
if (locale == null) {
return "";
}
}
ResourceBundle bundle = ResourceBundle.getBundle(
"javax.el.LocalStrings", locale);
try {
String template = bundle.getString(name);
if (props != null) {
template = MessageFormat.format(template, props);
}
return template;
} catch (MissingResourceException e) {
return "Missing Resource: '" + name + "' for Locale "
+ locale.getDisplayName();
}
|
public abstract void | setValue(javax.el.ELContext context, java.lang.Object base, java.lang.Object property, java.lang.Object value)
|