@Test public void testGetObject() { Map<String, Object> map = new HashMap<String, Object>(); map.put("object1", "value"); assertEquals("The value is not correct", "value", resolver.getObject( map, "object1")); assertNull("The value is not null", resolver.getObject(map, "object2")); assertNull("The value is not null", resolver.getObject(null, "object1")); }
protected Object getObject(Map<String, ? extends Object> map, String property) { Object retValue = null; if (map != null) { retValue = map.get(property); } return retValue; }
TilesContextBeanELResolver extends ELResolver { protected Object getObject(Map<String, ? extends Object> map, String property) { Object retValue = null; if (map != null) { retValue = map.get(property); } return retValue; } }
TilesContextBeanELResolver extends ELResolver { protected Object getObject(Map<String, ? extends Object> map, String property) { Object retValue = null; if (map != null) { retValue = map.get(property); } return retValue; }  }
TilesContextBeanELResolver extends ELResolver { protected Object getObject(Map<String, ? extends Object> map, String property) { Object retValue = null; if (map != null) { retValue = map.get(property); } return retValue; }  @Override Class<?> getCommonPropertyType(ELContext context, Object base); @Override Iterator<FeatureDescriptor> getFeatureDescriptors(ELContext context,
            Object base); @Override Class<?> getType(ELContext context, Object base, Object property); @Override Object getValue(ELContext context, Object base, Object property); @Override boolean isReadOnly(ELContext context, Object base, Object property); @Override void setValue(ELContext context, Object base, Object property,
            Object value); }
TilesContextBeanELResolver extends ELResolver { protected Object getObject(Map<String, ? extends Object> map, String property) { Object retValue = null; if (map != null) { retValue = map.get(property); } return retValue; }  @Override Class<?> getCommonPropertyType(ELContext context, Object base); @Override Iterator<FeatureDescriptor> getFeatureDescriptors(ELContext context,
            Object base); @Override Class<?> getType(ELContext context, Object base, Object property); @Override Object getValue(ELContext context, Object base, Object property); @Override boolean isReadOnly(ELContext context, Object base, Object property); @Override void setValue(ELContext context, Object base, Object property,
            Object value);  }