| Pacchetto | spark.validators.supportClasses |
| Classe | public class GlobalizationUtils |
| Ereditarietà | GlobalizationUtils Object |
| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 4.5 |
| Versioni runtime: | 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.
| Metodo | Definito da | ||
|---|---|---|---|
![]() |
Indica se per un oggetto è definita una proprietà specifica. | Object | |
[statico]
Return true if a codepoint is a numeric digit. | GlobalizationUtils | ||
[statico]
Return true if a codepoint is a leading surrogate. | GlobalizationUtils | ||
![]() |
Indica se un'istanza della classe Object si trova nella catena di prototipi dell'oggetto specificato come parametro. | Object | |
[statico]
Return true if a codepoint is a trailing surrogate. | GlobalizationUtils | ||
[statico]
Return true if a codepoint is a white space character. | GlobalizationUtils | ||
![]() |
Indica se la proprietà specificata esiste ed è enumerabile. | Object | |
![]() |
Imposta la disponibilità di una proprietà dinamica per le operazioni cicliche. | Object | |
[statico]
Convert a surrogate pair to UTF32. | GlobalizationUtils | ||
![]() |
Restituisce la rappresentazione in formato stringa di questo oggetto, formattato in base alle convenzioni specifiche per le versioni localizzate. | Object | |
![]() |
Restituisce la rappresentazione in formato stringa dell'oggetto specificato. | Object | |
[statico]
Removes leading and trailing white space characters. | GlobalizationUtils | ||
![]() |
Restituisce il valore di base dell'oggetto specificato. | Object | |
isDigit | () | metodo |
public static function isDigit(ccode:uint):Boolean| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 4.5 |
| Versioni runtime: | Flash Player 10.1, AIR 2.5 |
Return true if a codepoint is a numeric digit.
Supported digits are listed in
flash.globalization.NationalDigitsType.
Parametri
ccode:uint — input codepoint
|
Boolean — true if a codepoint is a numeric digit.
|
isLeadingSurrogate | () | metodo |
public static function isLeadingSurrogate(ccode:uint):Boolean| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 4.5 |
| Versioni runtime: | Flash Player 10.1, AIR 2.5 |
Return true if a codepoint is a leading surrogate.
Parametri
ccode:uint — The input codepoint.
|
Boolean — true if a codepoint is a leading surrogate,
and false if not.
|
isTrailingSurrogate | () | metodo |
public static function isTrailingSurrogate(ccode:uint):Boolean| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 4.5 |
| Versioni runtime: | Flash Player 10.1, AIR 2.5 |
Return true if a codepoint is a trailing surrogate.
Parametri
ccode:uint — The input codepoint.
|
Boolean — true if a codepoint is a trailing surrogate,
and false if not.
|
isWhiteSpace | () | metodo |
public static function isWhiteSpace(ccode:uint):Boolean| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 4.5 |
| Versioni runtime: | 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)
Parametri
ccode:uint — The input codepoint.
|
Boolean — true if a codepoint is a white space character,
and false if not.
|
surrogateToUTF32 | () | metodo |
public static function surrogateToUTF32(c0:uint, c1:uint):uint| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 4.5 |
| Versioni runtime: | Flash Player 10.1, AIR 2.5 |
Convert a surrogate pair to UTF32.
Parametri
c0:uint — High surrogate.
| |
c1:uint — Low surrogate.
|
uint — The UTF32 equivalent.
|
trim | () | metodo |
public static function trim(input:String):String| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 4.5 |
| Versioni runtime: | Flash Player 10.1, AIR 2.5 |
Removes leading and trailing white space characters.
Parametri
input:String — Input string to process.
|
String — String after removing leading and trailing
white space characters.
|
Tue Jun 12 2018, 02:44 PM Z
Nascondi proprietà pubbliche ereditate
Mostra proprietà pubbliche ereditate