You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Henning P. Schmiedehausen" <hp...@intermeta.de> on 2004/07/13 12:35:10 UTC
[BETWIXT] Doc patch for 0.5
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
Re: [BETWIXT] Doc patch for 0.5
Posted by "Henning P. Schmiedehausen" <hp...@intermeta.de>.
robert burrell donkin <ro...@blueyonder.co.uk> writes:
>hi henning
>james won't thank you for attributing my mistakes to him ;)
He was named as author in the head of the document. Apologies to
James. :-)
Regards
Henning
>i've applied the patch. many thanks.
>- robert
>On 13 Jul 2004, at 11:35, Henning P. Schmiedehausen wrote:
>> 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
>>
>>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: commons-dev-help@jakarta.apache.org
--
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
Re: [BETWIXT] Doc patch for 0.5
Posted by robert burrell donkin <ro...@blueyonder.co.uk>.
hi henning
james won't thank you for attributing my mistakes to him ;)
i've applied the patch. many thanks.
- robert
On 13 Jul 2004, at 11:35, Henning P. Schmiedehausen wrote:
> 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
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org