public static enum MXMLDialect.TextParsingFlags extends Enum<MXMLDialect.TextParsingFlags>
| Enum Constant and Description |
|---|
ALLOW_ARRAY
Recognize array literals, such as
"[ 1, 2 ]". |
ALLOW_BINDING
Recognize databinding expressions, such as
"{name.first}". |
ALLOW_COLOR_NAME
Recognize named colors, such as
"red". |
ALLOW_COMPILER_DIRECTIVE
Recognize compiler directives, such as
"@Embed('flag.jpg')". |
ALLOW_ESCAPED_COMPILER_DIRECTIVE
Allow escaping of compiler directives, so that
"\@Embed('flag.jpg')"
means the text "@Embed('flag.jpg')" and not a directive. |
ALLOW_PERCENT
Recognize percent values, such as
"100%". |
COLLAPSE_WHITE_SPACE
Collapse whitespace into a single space character.
|
RICH_TEXT_CONTENT
Parse as rich text content.
|
| Modifier and Type | Method and Description |
|---|---|
static MXMLDialect.TextParsingFlags |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MXMLDialect.TextParsingFlags[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MXMLDialect.TextParsingFlags ALLOW_ARRAY
"[ 1, 2 ]".public static final MXMLDialect.TextParsingFlags ALLOW_BINDING
"{name.first}".public static final MXMLDialect.TextParsingFlags ALLOW_COLOR_NAME
"red".public static final MXMLDialect.TextParsingFlags ALLOW_COMPILER_DIRECTIVE
"@Embed('flag.jpg')".public static final MXMLDialect.TextParsingFlags ALLOW_ESCAPED_COMPILER_DIRECTIVE
"\@Embed('flag.jpg')"
means the text "@Embed('flag.jpg')" and not a directive.public static final MXMLDialect.TextParsingFlags ALLOW_PERCENT
"100%".public static final MXMLDialect.TextParsingFlags COLLAPSE_WHITE_SPACE
public static final MXMLDialect.TextParsingFlags RICH_TEXT_CONTENT
public static MXMLDialect.TextParsingFlags[] values()
for (MXMLDialect.TextParsingFlags c : MXMLDialect.TextParsingFlags.values()) System.out.println(c);
public static MXMLDialect.TextParsingFlags valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2016 The Apache Software Foundation. All rights reserved.