[jbosstools-commits] JBoss Tools SVN: r30668 - trunk/smooks/docs/reference/en-US.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Wed Apr 20 00:11:39 EDT 2011
Author: irooskov at redhat.com
Date: 2011-04-20 00:11:38 -0400 (Wed, 20 Apr 2011)
New Revision: 30668
Modified:
trunk/smooks/docs/reference/en-US/tasks.xml
Log:
began work on writing up info reguarding TOOLSDOC-121
Modified: trunk/smooks/docs/reference/en-US/tasks.xml
===================================================================
--- trunk/smooks/docs/reference/en-US/tasks.xml 2011-04-20 02:40:46 UTC (rev 30667)
+++ trunk/smooks/docs/reference/en-US/tasks.xml 2011-04-20 04:11:38 UTC (rev 30668)
@@ -75,15 +75,24 @@
</figure>
</section>
<section>
- <title>"Java Mapping" or "Apply Template"?</title>
-
- <para>
- Though there are many options in Smooks regarding what you can do with input data, such as transformation, routing, and persistence, this version of the Smooks Configuration Editor focuses only on mapping to java and applying templates to create different output formats. If you have a set of Java classes you want to use the incoming data for, you can use the "Java Mapping" task to specify those classes and use drag and drop to map between the input model generated by the reader and elements in the output model. Or if you simply want to transform your output to one or more formats, you can use the <guilabel>Apply Template</guilabel> task to map it to a CSV file, XML or XSD file (with other formats being provided in the future).
- <note><title>Note</title>
- <para>You can't transform your output directly using only Input and Template tasks. You should use Mapping as an interagent between these tasks.</para>
- </note>
- </para>
- </section>
+ <title>Mapping processes</title>
+ <para>
+ In previous versions of the Smooks tooling you were required to manually create a java mapping task before applying a transformation template to the data. A new method is now available called <emphasis>Direct source to target mapping</emphasis>. This allows you to skip the manual creation of Java mapping and apply a template directly to your data.
+ </para>
+ <!-- <para>
+ Though there are many options in Smooks regarding what you can do with input data, such as transformation, routing, and persistence, this version of the Smooks Configuration Editor focuses only on mapping to java and applying templates to create different output formats. If you have a set of Java classes you want to use the incoming data for, you can use the "Java Mapping" task to specify those classes and use drag and drop to map between the input model generated by the reader and elements in the output model. Or if you simply want to transform your output to one or more formats, you can use the <guilabel>Apply Template</guilabel> task to map it to a CSV file, XML or XSD file (with other formats being provided in the future).
+ <note>
+ <title>Note</title>
+ <para>You can't transform your output directly using only Input and Template tasks. You should use Mapping as an interagent between these tasks.</para>
+ </note>
+ </para> -->
+ <section>
+ <title>Direct source to target mapping</title>
+ <para>
+ A new implified mapping process is supported within the Smooks Editor called <emphasis>Direct source to target mapping</emphasis>. This allows for you to skip the intermediate Java mapping step when applying a template to your data.
+ </para>
+ </section>
+
<section id="mapping">
<title>Java Mapping Task</title>
@@ -180,6 +189,7 @@
</mediaobject>
</figure>
</section>
+</section>
<section>
<title>Smooks Configuration testing using Smooks Run Configuration</title>
More information about the jbosstools-commits
mailing list