You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by rd...@apache.org on 2004/10/04 23:49:20 UTC

cvs commit: jakarta-commons/betwixt/xdocs/guide binding.xml

rdonkin     2004/10/04 14:49:20

  Modified:    betwixt/xdocs tasks.xml
               betwixt/xdocs/guide binding.xml
  Log:
  Documentation about property supression strategy
  
  Revision  Changes    Path
  1.37      +2 -0      jakarta-commons/betwixt/xdocs/tasks.xml
  
  Index: tasks.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/betwixt/xdocs/tasks.xml,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -r1.36 -r1.37
  --- tasks.xml	28 Sep 2004 22:21:20 -0000	1.36
  +++ tasks.xml	4 Oct 2004 21:49:20 -0000	1.37
  @@ -197,6 +197,8 @@
               <li><strong>Improved support for derived beans</strong> bind time type
               population now supported and enabled by default</li>
               <li>All exceptions are now complex</li>
  +            <li><strong>PropertySuppressionStrategy</strong> added which allows 
  +            course grained control of those properties which should be ignored by Betwixt.</li>
           </ul>
       </subsection>
       <subsection name='0.6'>
  
  
  
  1.10      +10 -0     jakarta-commons/betwixt/xdocs/guide/binding.xml
  
  Index: binding.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/betwixt/xdocs/guide/binding.xml,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- binding.xml	30 Aug 2004 14:45:48 -0000	1.9
  +++ binding.xml	4 Oct 2004 21:49:20 -0000	1.10
  @@ -494,6 +494,16 @@
           introspector.setClassNormalizer( classNormalizer );
   </pre></code>
       </subsection>
  +        <subsection name='Ignoring Properties'>
  +            <p>
  +As well as the finely grained tuning available when using dot betwixt files, 
  +it is sometimes very useful to be able to ignore all properties with a certain name
  +or a certain type. For example, the default Betwixt configuration ignores all properties
  +called 'class'. The <code>PropertySuppressionStrategy</code> pluggable strategy can
  +be set on the <code>IntrospectionConfiguration</code> and allows course grained rules
  +concerning which properties are to be ignored to be set.
  +        </p>
  +    </subsection>
   </section>
   
       <section name='Converting Objects And Primitives To Strings (And Back Again)'>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org