net.sf.oness.common.all
Class ReflectionToStringBuilder

java.lang.Object
  extended byorg.apache.commons.lang.builder.ToStringBuilder
      extended byorg.apache.commons.lang.builder.ReflectionToStringBuilder
          extended bynet.sf.oness.common.all.ReflectionToStringBuilder

public class ReflectionToStringBuilder
extends org.apache.commons.lang.builder.ReflectionToStringBuilder

Customized ReflectionToStringBuilder

Version:
$Revision: 1.1 $
Author:
Carlos Sanchez
See Also:
ReflectionToStringBuilder

Constructor Summary
ReflectionToStringBuilder(java.lang.Object object)
           
 
Method Summary
protected  java.lang.Object getValue(java.lang.reflect.Field f)
          Calendar fields are formatted with DateFormat.getDateTimeInstance() instead of using Calendar.toString().
 
Methods inherited from class org.apache.commons.lang.builder.ReflectionToStringBuilder
accept, appendFieldsIn, getUpToClass, isAppendTransients, reflectionAppendArray, setAppendTransients, setUpToClass, toString, toString, toString, toString, toString
 
Methods inherited from class org.apache.commons.lang.builder.ToStringBuilder
append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, appendAsObjectToString, appendSuper, appendToString, getDefaultStyle, getObject, getStringBuffer, getStyle, reflectionToString, reflectionToString, reflectionToString, reflectionToString, setDefaultStyle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReflectionToStringBuilder

public ReflectionToStringBuilder(java.lang.Object object)
Method Detail

getValue

protected java.lang.Object getValue(java.lang.reflect.Field f)
                             throws java.lang.IllegalArgumentException,
                                    java.lang.IllegalAccessException
Calendar fields are formatted with DateFormat.getDateTimeInstance() instead of using Calendar.toString().

Throws:
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
See Also:
ReflectionToStringBuilder.getValue(java.lang.reflect.Field)


Copyright © 2003-2005 ONess Project. All Rights Reserved.