oranjestad.commons.beanutils.text
Class BeanFormat.Holder
java.lang.Object
oranjestad.commons.beanutils.text.BeanFormat.Holder
- Enclosing class:
- BeanFormat
public static class BeanFormat.Holder
- extends java.lang.Object
Commons beanutils doesn't seem to like a Map or Integer as the bean.
Since its really useful to be able to format a bean, map, or array we use a
holder object to always act as the bean. This requires we append a
object. or object reference infront of the
strings provided in the template.
The user never sees this, they are just able to use beans, maps, or
arrays interchangably.
- Since:
- 1.0
- Author:
- bharris
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanFormat.Holder
public BeanFormat.Holder()
setObject
public void setObject(java.lang.Object o)
getObject
public java.lang.Object getObject()
Copyright © 2008. All Rights Reserved.