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 2003/01/19 16:40:00 UTC
cvs commit: jakarta-commons/betwixt/xdocs faq.xml
rdonkin 2003/01/19 07:40:00
Modified: betwixt/xdocs faq.xml
Log:
Corrected some small formatting issues.
Revision Changes Path
1.4 +4 -4 jakarta-commons/betwixt/xdocs/faq.xml
Index: faq.xml
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/xdocs/faq.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- faq.xml 30 Dec 2002 19:13:09 -0000 1.3
+++ faq.xml 19 Jan 2003 15:40:00 -0000 1.4
@@ -151,9 +151,9 @@
</dt>
<dd>
Yes! Call
-<pre>
+<source>
beanWriter.enablePrettyPrint();
-</pre>
+</source>
(For those who are extra picky, how this is done can also be adjusted.
See java docs for details.)
</dd>
@@ -181,9 +181,9 @@
</dt>
<dd>
This is controlled by a property on <code>BeanWriter</code>. Call
-<pre>
+<source>
beanWriter.setWriteIDs(false);
-</pre>
+</source>
and then Betwixt will no longer automatically add <code>ID</code> attributes.
Once this property is set (to false), BeanWroter will throw a
<code>CyclicReferenceException</code> when any cyclic references which are
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>