title: How to set Class value to spring bean property?
body: <p>Hey, what is the best way to set a bean's property with Class value ? Regarding XML configuration. For a bean like this :</p>
  
  <pre><code>public class FilterJsonView extends MappingJacksonJsonView {
  
      private Set&lt;String&gt; filteredAttributes;
      private Class clazz;
  
      public Set&lt;String&gt; getFilteredAttributes() {
          return filteredAttributes;
      }
  
      public void setFilteredAttributes(Set&lt;String&gt; filteredAttributes) {
          this.filteredAttributes = filteredAttributes;
      }
  
      public Class getClazz() {
          return clazz;
      }
  
      public void setClazz(Class clazz) {
          this.clazz = clazz;
      }
  }
  </code></pre>