<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Paul Hinks&#039; Blog &#187; java</title>
	<atom:link href="http://www.paulhinks.com/blog/category/java/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.paulhinks.com/blog</link>
	<description>Politics, Technology, Food</description>
	<lastBuildDate>Thu, 28 Jan 2010 06:29:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Java &#8211; printing the contents of a bean</title>
		<link>http://www.paulhinks.com/blog/2009/04/20/java-printing-the-contents-of-a-bean/</link>
		<comments>http://www.paulhinks.com/blog/2009/04/20/java-printing-the-contents-of-a-bean/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 18:34:29 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://www.paulhinks.com/?p=311</guid>
		<description><![CDATA[I just discovered this trick, and I&#8217;m recording it here so other people don&#8217;t have to search as much as I did to find it. To dump the contents of a bean b use this code:
org.apache.commons.beanutils.BeanUtils.describe(b).toString()
This uses reflection to dump the bean field names and values &#8211; very useful in debugging. describe returns a HashMap [...]]]></description>
			<content:encoded><![CDATA[<p>I just discovered this trick, and I&#8217;m recording it here so other people don&#8217;t have to search as much as I did to find it. To dump the contents of a bean b use this code:</p>
<p><code>org.apache.commons.beanutils.BeanUtils.describe(b).toString()</code></p>
<p>This uses reflection to dump the bean field names and values &#8211; very useful in debugging. describe returns a HashMap of fields and values &#8211; also useful if you want to check that specific fields have been set properly.</p>
<p>[ad#co-1]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.paulhinks.com/blog/2009/04/20/java-printing-the-contents-of-a-bean/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
