Class DynaBeanMapDecorator

This, for example, could be used in JSTL in the following way to access a DynaBean's fooProperty:


To decorate a DynaBean simply instantiate this class with the target DynaBean:

The above example creates a read only Map. To create a Map which can be modified, construct a DynaBeanMapDecorator with the read only attribute set to false:


In this implementation the entrySet(), keySet() and values() methods create an unmodifiable Set and it does not support the Map's clear() and remove() operations.

For reasons of backwards compatibility, the generic types of this Map implementation are <Object, Object>. However, the keys of the map are typically strings.

BeanUtils 1.8.0
$Id: 1540186 2013-11-08 21:08:30Z oheger $

Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.