rdonkin     2004/08/23 12:33:48

  Modified:    betwixt/xdocs/guide writing.xml
  Log:
  Added strategy for attribute suppression. This should (belatedly) give a solution 
for issue #24659.
  
  Revision  Changes    Path
  1.4       +17 -0     jakarta-commons/betwixt/xdocs/guide/writing.xml
  
  Index: writing.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/betwixt/xdocs/guide/writing.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- writing.xml       29 Feb 2004 21:58:36 -0000      1.3
  +++ writing.xml       23 Aug 2004 19:33:48 -0000      1.4
  @@ -87,6 +87,23 @@
           introspector.setClassNormalizer( classNormalizer );
   </pre></code>
       </subsection>
  +        <subsection name='Suppressing The Expression Of Attributes'>
  +            <p>
  +Sometimes there are certain values for some attributes which should result in
  +the attribute not being expressed at all. A typical use case is the requirement
  +for null property values to result in the absence of the mapped attributes
  +(as opposed to their expression with an empty value).
  +        </p>
  +            <p>
  +Betwixt allows this behaviour to be customized through the setting of the
  +<code>ValueSuppressionStrategy</code> property of the writer's
  +<code>BindingConfiguration</code> to an appropriate 
  +<code>ValueSuppressionStrategy</code> implementation.
  +        </p>
  +            <p>
  +By default, Betwixt suppresses empty attributes.
  +        </p>
  +    </subsection>
   </section>
   </body>
   </document>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to