commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henning P. Schmiedehausen" <...@intermeta.de>
Subject [BETWIXT] Doc patch for 0.5
Date Tue, 13 Jul 2004 10:35:10 GMT
Hey James, you're typing too fast. ;-)

Obvious. Please apply.

	Regards
		Henning


--- cut --- 
Index: xdocs/guide/binding.xml
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/xdocs/guide/binding.xml,v
retrieving revision 1.5
diff -u -b -r1.5 binding.xml
--- xdocs/guide/binding.xml	11 Apr 2004 10:53:49 -0000	1.5
+++ xdocs/guide/binding.xml	13 Jul 2004 10:33:03 -0000
@@ -428,13 +428,13 @@
 For example, to delegate to <code>ConvertUtils</code> for <em>all</em>
conversions in a read:
 <code><pre>
     BeanReader reader = new BeanReader();
-    reader.getBindingConfiguration(new ConvertUtilsObjectStringConverter());
+    reader.getBindingConfiguration().setObjectStringConverter(new ConvertUtilsObjectStringConverter());
     reader.parse...
 </pre></code>
 and in a write:
 <code><pre>
     BeanWriter writer = new BeanWriter();
-    writer.getBindingConfiguration(new ConvertUtilsObjectStringConverter());
+    writer.getBindingConfiguration().setObjectStringConverter(new ConvertUtilsObjectStringConverter());
     writer.write...
 </pre></code>
         </p>

--- cut --- 
-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
hps@intermeta.de        +49 9131 50 654 0   http://www.intermeta.de/

RedHat Certified Engineer -- Jakarta Turbine Development  -- hero for hire
   Linux, Java, perl, Solaris -- Consulting, Training, Development

"Fighting for one's political stand is an honorable action, but re-
 fusing to acknowledge that there might be weaknesses in one's
 position - in order to identify them so that they can be remedied -
 is a large enough problem with the Open Source movement that it
 deserves to be on this list of the top five problems."
                       -- Michelle Levesque, "Fundamental Issues with
                                    Open Source Software Development"

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


Mime
View raw message