| Pakket | spark.validators.supportClasses |
| Klasse | public class GlobalizationUtils |
| Overerving | GlobalizationUtils Object |
| Taalversie: | ActionScript 3.0 |
| Productversie: | Flex 4.5 |
| Runtimeversies: | Flash Player 10.1, AIR 2.5 |
This class contains the utility routines needed for all Validators. Examples of typical routines are checking for unicode white space, trimming all spaces in a string at the beginning and end.
| Methode | Gedefinieerd door | ||
|---|---|---|---|
![]() |
Geeft aan of voor een object een opgegeven eigenschap is gedefinieerd. | Object | |
[statisch]
Return true if a codepoint is a numeric digit. | GlobalizationUtils | ||
[statisch]
Return true if a codepoint is a leading surrogate. | GlobalizationUtils | ||
![]() |
Geeft aan of een instantie van de klasse Object zich in de prototypeketen van het object bevindt dat als parameter is opgegeven. | Object | |
[statisch]
Return true if a codepoint is a trailing surrogate. | GlobalizationUtils | ||
[statisch]
Return true if a codepoint is a white space character. | GlobalizationUtils | ||
![]() |
Geeft aan of de opgegeven eigenschap bestaat en kan worden opgesomd. | Object | |
![]() |
Stelt de beschikbaarheid van een dynamische eigenschap voor lusbewerkingen in. | Object | |
[statisch]
Convert a surrogate pair to UTF32. | GlobalizationUtils | ||
![]() |
Geeft de tekenreeksweergave van dit object weer, geformatteerd volgens de locatiespecifieke conventies. | Object | |
![]() |
Retourneert een tekenreeksrepresentatie van het opgegeven object. | Object | |
[statisch]
Removes leading and trailing white space characters. | GlobalizationUtils | ||
![]() |
Retourneert de primitieve waarde van het opgegeven object. | Object | |
isDigit | () | methode |
public static function isDigit(ccode:uint):Boolean| Taalversie: | ActionScript 3.0 |
| Productversie: | Flex 4.5 |
| Runtimeversies: | Flash Player 10.1, AIR 2.5 |
Return true if a codepoint is a numeric digit.
Supported digits are listed in
flash.globalization.NationalDigitsType.
Parameters
ccode:uint — input codepoint
|
Boolean — true if a codepoint is a numeric digit.
|
isLeadingSurrogate | () | methode |
public static function isLeadingSurrogate(ccode:uint):Boolean| Taalversie: | ActionScript 3.0 |
| Productversie: | Flex 4.5 |
| Runtimeversies: | Flash Player 10.1, AIR 2.5 |
Return true if a codepoint is a leading surrogate.
Parameters
ccode:uint — The input codepoint.
|
Boolean — true if a codepoint is a leading surrogate,
and false if not.
|
isTrailingSurrogate | () | methode |
public static function isTrailingSurrogate(ccode:uint):Boolean| Taalversie: | ActionScript 3.0 |
| Productversie: | Flex 4.5 |
| Runtimeversies: | Flash Player 10.1, AIR 2.5 |
Return true if a codepoint is a trailing surrogate.
Parameters
ccode:uint — The input codepoint.
|
Boolean — true if a codepoint is a trailing surrogate,
and false if not.
|
isWhiteSpace | () | methode |
public static function isWhiteSpace(ccode:uint):Boolean| Taalversie: | ActionScript 3.0 |
| Productversie: | Flex 4.5 |
| Runtimeversies: | Flash Player 10.1, AIR 2.5 |
Return true if a codepoint is a white space character.
Supports all unicode white space characters.
The unicode supported white spaces are:
ASCII_SPACE (0x20)
NO_BREAK_SPACE (0xA0)
UNICODE_OGHAM_SPACE_MARK (0x1680)
Unicode spaces 0x2000 - 0x200B
UNICODE_NARROW_NOBREAK_SPACE (0x202F)
UNICODE_MEDIUM_MATHEMATICAL_SPACE (0x205F)
UNICODE_IDEOGRAPHIC_SPACE (0x3000)
UNICODE_ZEROWIDTH_NOBREAK_SPACE (0xFEFF)
Parameters
ccode:uint — The input codepoint.
|
Boolean — true if a codepoint is a white space character,
and false if not.
|
surrogateToUTF32 | () | methode |
public static function surrogateToUTF32(c0:uint, c1:uint):uint| Taalversie: | ActionScript 3.0 |
| Productversie: | Flex 4.5 |
| Runtimeversies: | Flash Player 10.1, AIR 2.5 |
Convert a surrogate pair to UTF32.
Parameters
c0:uint — High surrogate.
| |
c1:uint — Low surrogate.
|
uint — The UTF32 equivalent.
|
trim | () | methode |
public static function trim(input:String):String| Taalversie: | ActionScript 3.0 |
| Productversie: | Flex 4.5 |
| Runtimeversies: | Flash Player 10.1, AIR 2.5 |
Removes leading and trailing white space characters.
Parameters
input:String — Input string to process.
|
String — String after removing leading and trailing
white space characters.
|
Wed Jun 13 2018, 11:42 AM Z
Overerfde openbare eigenschappen verbergen
Overerfde openbare eigenschappen weergeven