reference/intl/intlchar/iswhitespace.xml
1976eae0d815797af97a1e16c5cd90ffc2868395
...
...
@@ -1,6 +1,5 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
3
<refentry xml:id="intlchar.iswhitespace" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>IntlChar::isWhitespace</refname>
...
...
@@ -9,15 +8,15 @@
9
8

10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
-
<methodsynopsis>
13
-
<modifier>public</modifier> <modifier>static</modifier> <type>bool</type><methodname>IntlChar::isWhitespace</methodname>
14
-
<methodparam><type>mixed</type><parameter>codepoint</parameter></methodparam>
11
+
<methodsynopsis role="IntlChar">
12
+
<modifier>public</modifier> <modifier>static</modifier> <type class="union"><type>bool</type><type>null</type></type><methodname>IntlChar::isWhitespace</methodname>
13
+
<methodparam><type class="union"><type>int</type><type>string</type></type><parameter>codepoint</parameter></methodparam>
15
14
</methodsynopsis>
16
15
<para>
17
16
Determines if the specified code point is a whitespace character according to ICU.
18
17
</para>
19
18
<para>
20
-
A character is considered to be a Java whitespace character if and only if it satisfies one of the following criteria:
19
+
A character is considered to be a ICU whitespace character if and only if it satisfies one of the following criteria:
21
20
<simplelist>
22
21
<member>It is a Unicode Separator character (categories "Z" = "Zs" or "Zl" or "Zp"), but is not also a non-breaking space (U+00A0 NBSP or U+2007 Figure Space or U+202F Narrow NBSP).</member>
23
22
<member>It is U+0009 HORIZONTAL TABULATION.</member>
...
...
@@ -49,7 +48,7 @@
49
48
&reftitle.returnvalues;
50
49
<para>
51
50
Returns &true; if
52
-
<parameter>codepoint</parameter> is a whitespace character according to ICU, &false; if not.
51
+
<parameter>codepoint</parameter> is a whitespace character according to ICU, &false; if not. Returns &null; on failure.
53
52
</para>
54
53
</refsect1>
55
54

...
...
@@ -93,7 +92,6 @@ bool(false)
93
92
</refsect1>
94
93

95
94
</refentry>
96
-

97
95
<!-- Keep this comment at the end of the file
98
96
Local variables:
99
97
mode: sgml
100
98