From jbosstools-commits at lists.jboss.org Wed Mar 10 06:11:24 2010
Content-Type: multipart/mixed; boundary="===============8149503807069244837=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r20724 -
trunk/smooks/docs/reference/en-US.
Date: Wed, 10 Mar 2010 06:11:24 -0500
Message-ID: <201003101111.o2ABBOE3020579@svn01.web.mwc.hst.phx2.redhat.com>
--===============8149503807069244837==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: ochikvina
Date: 2010-03-10 06:11:24 -0500 (Wed, 10 Mar 2010)
New Revision: 20724
Modified:
trunk/smooks/docs/reference/en-US/references.xml
trunk/smooks/docs/reference/en-US/tasks.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-1133 - corrected the issues of S=
mooks guide reported by Jiri Peterka.Updated "Apply Template" se=
ction and "Smooks Configuration testing using Smooks Run Configuration=
" section.
Modified: trunk/smooks/docs/reference/en-US/references.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/smooks/docs/reference/en-US/references.xml 2010-03-10 10:37:57 UT=
C (rev 20723)
+++ trunk/smooks/docs/reference/en-US/references.xml 2010-03-10 11:11:24 UT=
C (rev 20724)
@@ -208,27 +208,29 @@
CSV<=
itemizedlist>
Fields =
- Comma separated list of CSV record field names
- Separator Characte=
r - Field separator character. Default of ','.
+ Separator Characte=
r - Field separator character.
- Quote Character - Quote character. Default of '"'.
+ Quote Character - Quote character.
- Record Name - Name of csv record element.Default:csv-record
- Root Name - Name of csv root element.Default:csv-set
- indent =
- Add indentation character data to the generated event stream. This simpl=
y makes
+ Record Name - Name of csv record element.
+ Root Name - Name of csv root element.
+ indent =
- Add indentation character data to
+ the generated event stream. This simply=
makes
the generated event stream easier to rea=
d in its serialized form. Useful for
- testing etc.Default:true
+ testing etc.
- Skip Lines - Number of lines to skip before processing starts. Default of 0.
- =
+ Skip Lines - Number of lines to skip before processing starts. =
=
EDI
- Target Profile - Defines the target profile
+ Target Profile - Defines the output
+ transformation profile
- Encoding - The character encoding. Default "UTF-8"
- Mapping Model - Defines the EDI Mapping Model configuration for processing the =
+ Encoding - The character encoding.
+ Mapping Model - Defines the EDI Mapping Model
+ configuration for processing the =
EDI message stream to a stream of SAX e=
vents that can be processed by Smooks.Validate - This attribute turns on/off datatype validation in the EDI Parser.
Validation is on by default.
@@ -240,16 +242,16 @@
JSONTarget Profile=
- Defines the output transformation profile
- Array Element =
Name - The element name of a array element. Default of 'element'.
+ Array Element =
Name - The element name of an array element.
Encoding - encoding: The default encoding of any JSON message =
- InputStream processed by this Reader=
. Default of 'UTF-8'.
+ InputStream processed by this Reader=
.Illegal Elemen=
t Name Char Replacement - If illegal characters are encountered =
in a JSON element name then they are replaced with this value.
By default this is not defined, so t=
hat the reader doesn't doesn't search for illegal characters.
Indent - Add indentation character data to the generated event stream. This s=
imply makes
the generated event stream easier to=
read in its serialized form. Useful for
- testing etc.Default:false.
+ testing etc.
Key Prefix on =
Numeric - The prefix character to add if the JSON node name star=
ts with a number.
By default this is not defined, so t=
hat the reader doesn't search for element names that start with a number.
@@ -257,8 +259,8 @@
Key Whitespace=
Replacement - The replacement character for whitespaces in a JS=
ON map key.
By default this not defined, so that=
the reader doesn't search for whitespaces.
- Null Value Rep=
lacement - The replacement string for JSON NULL values. Default =
is ""(an empty string).
- Root Name - The element name of the document root. Default of 'json'.
+ Null Value Rep=
lacement - The replacement string for JSON NULL values.=
listitem>
+ Root Name - The element name of the document root.
Key Maps - Defines a JSON element name mapping
The "from" key will be replaced with=
the "to" key or the contents of the element.
Modified: trunk/smooks/docs/reference/en-US/tasks.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/smooks/docs/reference/en-US/tasks.xml 2010-03-10 10:37:57 UTC (re=
v 20723)
+++ trunk/smooks/docs/reference/en-US/tasks.xml 2010-03-10 11:11:24 UTC (re=
v 20724)
@@ -10,7 +10,9 @@
TasksThis chapter describes the main tasks a user can be faced during=
Smooks tools usage.
- Here we use the example that can be downloaded from here
+ In this chapter we use the example that can be downloaded from
+
+ here. New Smooks Configuration File CreationSelect the project where you want to create new Smooks Conf=
iguration File and right-click on it,
@@ -180,7 +182,7 @@
- On the next wizard page put the following string into the Fiel=
ds,select Output fields Names and click Finish.
+ On the next wizard page put the following string into the Fiel=
ds,select Output Fields Names and click Fini=
sh.CSV output message configuration
@@ -190,11 +192,15 @@
=
- After these steps "Apply Template" task will appear to the rig=
ht, connected to the task you created it from.
+ After these steps "Apply Template"
+ task will appear to the right, connected to the task you creat=
ed it from.
To continue the process of configuration you should click on i=
t and find CSV Template =
- item with entered fields on the canvas.Now you can click and =
drag from various input elements to corresponding output elements
- in the template. Make sure to connect collection elements to c=
orresponding csv-record
- In our example we transfer into CSV output only the elements o=
f orderItems collection(see picture below) =
+ item with entered fields on the canvas.Now you can click and =
drag from various =
+ input elements to corresponding output elements
+ in the template. Make sure to connect collection elements to t=
he c
+ orresponding csv-record.
+ In our example we transfer into CSV output only the elements =
+ of orderItems collection (see the picture=
below): =
Relations between input and output models
--===============8149503807069244837==--