Skip to content

Commit 050b2ba

Browse files
committed
camel-core - Add safeQuote function to simple language
1 parent 4c0096f commit 050b2ba

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

core/camel-core-languages/src/main/docs/modules/languages/pages/simple-language.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -460,8 +460,8 @@ The generator supports different kinds `default`, `classic`, `short`, `simple` a
460460
|`pad(exp,width,separator)` | `String` | Pads the expression with extra padding if necessary, according the total width The separator is by default a space. If the width is negative then padding to the right, otherwise to the left.
461461
|`replace(from,to)` | `String` | Replace all the string values in the message body. To make it easier to replace single and double quotes, then you can use XML escaped values `\"` as double quote, `\'` as single quote, and `\∅` as empty value.
462462
|`replace(from,to,exp)` | `String` | Replace all the string values in the given expression. To make it easier to replace single and double quotes, then you can use XML escaped values `\"` as double quote, `\'` as single quote, and `\∅` as empty value.
463-
|`safeQuote() | `String` | Returns the message body safely quoted if needed
464-
|`safeQuote(exp) | `String` | Returns the expression safely quoted if needed
463+
|`safeQuote()` | `String` | Returns the message body safely quoted if needed
464+
|`safeQuote(exp)` | `String` | Returns the expression safely quoted if needed
465465
|`substring(num1)` | `String` | Returns a substring of the message body. If the number is positive, then the returned string is clipped from the beginning. If the number is negative, then the returned string is clipped from the ending.
466466
|`substring(num1,num2)` | `String` | Returns a substring of the message body. If the number is positive, then the returned string is clipped from the beginning. If the number is negative, then the returned string is clipped from the ending.
467467
|`substring(num1,num2,exp)` | `String` | Returns a substring of the given expression. If the number is positive, then the returned string is clipped from the beginning. If the number is negative, then the returned string is clipped from the ending.
@@ -473,8 +473,8 @@ The generator supports different kinds `default`, `classic`, `short`, `simple` a
473473
|`substringBetween(exp,after,before` | `String` | Returns a substring of the expression that are between before and after. Returns `null` if nothing comes between.
474474
|`trim()` | `String` | The trim function trims the message body by removing all leading and trailing white spaces.
475475
|`trim(exp)` | `String` | The trim function trims the expression by removing all leading and trailing white spaces.
476-
|`quote() | `String` | Returns the message body as a double-quoted string
477-
|`quote(exp) | `String` | Returns the expression as a double-quoted string
476+
|`quote()` | `String` | Returns the message body as a double-quoted string
477+
|`quote(exp)` | `String` | Returns the expression as a double-quoted string
478478
|`uppercase()` | `String` | Uppercases the message body
479479
|`uppercase(exp)` | `String` | Uppercases the expression
480480
|====

0 commit comments

Comments
 (0)