Literals"

From Documentation
m
Line 3: Line 3:
 
EL expressions define the following literals:
 
EL expressions define the following literals:
  
* Boolean: true and false
+
{| border='1px'
* Integer: as in Java
+
! Type !! Description
* Floating point: as in Java
+
|-
* String: with single and double quotes; " is escaped as \", ' is escaped as \', and \ is escaped as \\.
+
| Boolean
* Null: null
+
| true and false
 +
|-
 +
| Integer
 +
| as in Java, such as 123
 +
|-
 +
| Floating point, such as 1.23 and 1e9
 +
| as in Java
 +
|-
 +
| String
 +
| with single and double quotes; " is escaped as \", ' is escaped as \', and \ is escaped as \\.<br/>
 +
Example, 'a string' and "hello world"
 +
|-
 +
| Null
 +
| null
 +
|}
  
 
=Version History=
 
=Version History=

Revision as of 02:26, 25 November 2010

EL expressions define the following literals:

Type Description
Boolean true and false
Integer as in Java, such as 123
Floating point, such as 1.23 and 1e9 as in Java
String with single and double quotes; " is escaped as \", ' is escaped as \', and \ is escaped as \\.

Example, 'a string' and "hello world"

Null null

Version History

Last Update : 2010/11/25


Version Date Content
     



Last Update : 2010/11/25

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.