oranjestad.commons.beanutils.text
Class BeanFormat.Holder

java.lang.Object
  extended by 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

Constructor Summary
BeanFormat.Holder()
           
 
Method Summary
 java.lang.Object getObject()
           
 void setObject(java.lang.Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanFormat.Holder

public BeanFormat.Holder()
Method Detail

setObject

public void setObject(java.lang.Object o)

getObject

public java.lang.Object getObject()


Copyright © 2008. All Rights Reserved.