For more details on DataSpider Studio for Web, refer to here.
| Numbering in the figure | Name | Description | Remarks |
|---|---|---|---|
| (1) | Input source | Schema of input data, script variable, component variable are shown. |
|
| (2) | Template area | Describe Velocity template. Syntax of reference of Variable/Input data and loop/conditional branch is changed to color and shown. |
|
| (3) | Tool palette | Tool related to "Add input data" and "Insert loop" "Insert conditional branch " is shown. It is possible to start each tool by dragging&dropping to template area. |
Refer to "Start and End HTML Builder".
Refer to "Usage of variables".
Refer to "Input data Add/Delete".
Refer to "Edit Schema".
Refer to "Insert loop using input data".
For conditional branch using variable: Refer to "Usage of variables".
Conditional branch using input data: Refer to "Insert conditional branch using input data".
| Notation | Description |
|---|---|
| $component.<Processing component name> | Returns the object corresponding to the result data of processing component in <Processing component name>. |
For JDOM, please refer to "jdom.org"(http://www.jdom.org/).
| Method Name | Arguments | Return type | Description |
|---|---|---|---|
| rows | None | Collection | Collection for object to access to each row. |
| Method Name | Arguments | Return type | Description |
|---|---|---|---|
| getColumnValue | int | Column | Get the column object with the specified index. |
| getColumnCount | None | int | Returns the number of columns in the row. |
| getColumnData | None | Column[] | Returns an array of column objects included in row object. |
| Method Name | Arguments | Return type | Description |
|---|---|---|---|
| getData | None | Object | Return column input value unchanged. |
| getStringValue | None | String | Value as String type |
| getIntegerValue | None | Integer | Value as Integer type |
| getLongValue | None | Long | Value as Long type |
| getShortValue | None | Short | Value as Short type |
| getFloatValue | None | Float | Value as Float type |
| getDoubleValue | None | Double | Value as Double type |
| getBigDecimalValue | None | BigDecimal | Value as BigDecimal type |
| getBooleanValue | None | Boolean | Value as Boolean type |
By clicking [Next] button, you can also insert loop or conditional branch using added data.
Velocity templates in the template shown in the area "$component.<Processing component name>", by writing and will be added to the original input data is the result of the tree component.
With the process above, input data is added and data flow of designer and input source tree are updated automatically.
This process is not required if you open the "Insert loop" screen by drag & drop the node of data for the loop from the "Input data" tree.
You can also add a conditional branch by drag & drop the node of data for the conditional branch processing from the source "Input data" tree, and select [Insert conditional branch] in the menu.
| Type | Notation | Description |
|---|---|---|
| Script variable | $script.<Script variable name> | Returns the string representation of the value dereferenced by the <Script variable name>. |
| $start.<XML script input variable name> | Return XML data of the script variable shown as <XML script input variable name>.
For more details, refer to "XML type data". |
|
| $component.<XML script input variable name> | ||
| Component variable | $property.<Processing component name>.<Component variable name> | Return string representation of component number indicated by <Processing component name> and <Component variable name>. |
Environment variables cannot be used.
For variable, refer to "Variables".
Values you can obtain vary depending on the component. For more details, refer to the Help page of each adapter.
You can insert a component variable also by drag & drop the component variable you insert from the input source "Component variable" tree to the template area and select [Insert component variable] from the displayed menu.
You can insert a conditional branch also by drag & drop the component variable you insert from the input source "Component variable" tree to the template area and select [Insert conditional branch] from the displayed menu.
You can insert a script variable also by drag & drop the script variable you insert from the input source "Script variable" tree to the template area and select [Insert script variable] from the displayed menu.
You can insert a conditional branch also by drag & drop the script variable you insert from the input source "Script variable" tree to the template area and select [Insert conditional branch] from the displayed menu.
| Characters | Description |
|---|---|
| space | |
| ! | Exclamation mark |
| ? | Question mark |
| \ | Backslash |
| $ | Dollar sign |
| @ | at symbol |
| % | percent symbol |
| & | ampersand |
| # | hash mark |
| * | asterisk |
| ^ | hut |
| ~ | tilde |
| , | comma |
| . | period |
| + | plus sign |
| / | forward slash |
| | | vertical bar |
| : | colon |
| ; | semi colon |
| < | less than sign |
| = | equal sing |
| > | greater than sing |
| - | hyphen |
| ' | single quote |
| " | double quote |
| ` | back quote |
| ( | parentheses(left) |
| ) | parentheses(right) |
| { | braces(left) |
| } | braces(right) |
| [ | bracket(left) |
| ] | bracket(right) |
| 「 | double-byte parenthesis(left) |
| 」 | double-byte parenthesis(right) |
| ・ | double-byte bullet point |