| Paquete | spark.validators.supportClasses |
| Clase | public class GlobalizationUtils |
| Herencia | GlobalizationUtils Object |
| Versión del lenguaje: | ActionScript 3.0 |
| Versión de producto: | Flex 4.5 |
| Versiones de motor de ejecución: | 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.
| Método | Definido por | ||
|---|---|---|---|
![]() |
Indica si un objeto tiene definida una propiedad especificada. | Object | |
[estática]
Return true if a codepoint is a numeric digit. | GlobalizationUtils | ||
[estática]
Return true if a codepoint is a leading surrogate. | GlobalizationUtils | ||
![]() |
Indica si hay una instancia de la clase Object en la cadena de prototipo del objeto especificado como parámetro. | Object | |
[estática]
Return true if a codepoint is a trailing surrogate. | GlobalizationUtils | ||
[estática]
Return true if a codepoint is a white space character. | GlobalizationUtils | ||
![]() |
Indica si existe la propiedad especificada y si es enumerable. | Object | |
![]() |
Establece la disponibilidad de una propiedad dinámica para operaciones de bucle. | Object | |
[estática]
Convert a surrogate pair to UTF32. | GlobalizationUtils | ||
![]() |
Devuelve la representación de cadena de este objeto, con formato según las convenciones específicas de configuración regional. | Object | |
![]() |
Devuelve la representación de cadena del objeto especificado. | Object | |
[estática]
Removes leading and trailing white space characters. | GlobalizationUtils | ||
![]() |
Devuelve el valor simple del objeto especificado. | Object | |
isDigit | () | método |
public static function isDigit(ccode:uint):Boolean| Versión del lenguaje: | ActionScript 3.0 |
| Versión de producto: | Flex 4.5 |
| Versiones de motor de ejecución: | Flash Player 10.1, AIR 2.5 |
Return true if a codepoint is a numeric digit.
Supported digits are listed in
flash.globalization.NationalDigitsType.
Parámetros
ccode:uint — input codepoint
|
Boolean — true if a codepoint is a numeric digit.
|
isLeadingSurrogate | () | método |
public static function isLeadingSurrogate(ccode:uint):Boolean| Versión del lenguaje: | ActionScript 3.0 |
| Versión de producto: | Flex 4.5 |
| Versiones de motor de ejecución: | Flash Player 10.1, AIR 2.5 |
Return true if a codepoint is a leading surrogate.
Parámetros
ccode:uint — The input codepoint.
|
Boolean — true if a codepoint is a leading surrogate,
and false if not.
|
isTrailingSurrogate | () | método |
public static function isTrailingSurrogate(ccode:uint):Boolean| Versión del lenguaje: | ActionScript 3.0 |
| Versión de producto: | Flex 4.5 |
| Versiones de motor de ejecución: | Flash Player 10.1, AIR 2.5 |
Return true if a codepoint is a trailing surrogate.
Parámetros
ccode:uint — The input codepoint.
|
Boolean — true if a codepoint is a trailing surrogate,
and false if not.
|
isWhiteSpace | () | método |
public static function isWhiteSpace(ccode:uint):Boolean| Versión del lenguaje: | ActionScript 3.0 |
| Versión de producto: | Flex 4.5 |
| Versiones de motor de ejecución: | 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)
Parámetros
ccode:uint — The input codepoint.
|
Boolean — true if a codepoint is a white space character,
and false if not.
|
surrogateToUTF32 | () | método |
public static function surrogateToUTF32(c0:uint, c1:uint):uint| Versión del lenguaje: | ActionScript 3.0 |
| Versión de producto: | Flex 4.5 |
| Versiones de motor de ejecución: | Flash Player 10.1, AIR 2.5 |
Convert a surrogate pair to UTF32.
Parámetros
c0:uint — High surrogate.
| |
c1:uint — Low surrogate.
|
uint — The UTF32 equivalent.
|
trim | () | método |
public static function trim(input:String):String| Versión del lenguaje: | ActionScript 3.0 |
| Versión de producto: | Flex 4.5 |
| Versiones de motor de ejecución: | Flash Player 10.1, AIR 2.5 |
Removes leading and trailing white space characters.
Parámetros
input:String — Input string to process.
|
String — String after removing leading and trailing
white space characters.
|
Tue Jun 12 2018, 02:12 PM Z
Ocultar propiedades públicas heredadas
Mostrar propiedades públicas heredadas