You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by dg...@apache.org on 2004/03/15 00:50:36 UTC
cvs commit: jakarta-commons-sandbox/mapper/xdocs index.xml
dgraham 2004/03/14 15:50:36
Modified: mapper/xdocs index.xml
Log:
Use <source> instead of <pre> for code.
Revision Changes Path
1.5 +2 -2 jakarta-commons-sandbox/mapper/xdocs/index.xml
Index: index.xml
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/mapper/xdocs/index.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- index.xml 14 Mar 2004 23:42:25 -0000 1.4
+++ index.xml 14 Mar 2004 23:50:36 -0000 1.5
@@ -82,7 +82,7 @@
interface. The majority of mapping work can be accomplished through the methods in this
interface with specialized methods added to specific Mappers as needed.
</p>
-<pre>
+<source>
// 1. Setup MapperFactory (this is best done with a .properties file).
// The keys in the file are fully qualified class names of objects to
// persist. The values are the fully qualified class names of the Mapper
@@ -113,7 +113,7 @@
Person p = new Person("Joe", "User");
Mapper m = factory.getMapper(Person.class);
m.create(p);
-</pre>
+</source>
</section>
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org