public static enum Component.ContentHandling extends Enum<Component.ContentHandling>
| Enum Constant and Description |
|---|
AS_ATTRIBUTE
Text content is internally represented as an attribute named #text.
|
AS_CHILD
Text content is internally represented as a child component of the class Content.
|
ERROR
Text content throws an exception.
|
IGNORE
Text content is ignored.
|
| Modifier and Type | Method and Description |
|---|---|
static Component.ContentHandling |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Component.ContentHandling[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Component.ContentHandling ERROR
public static final Component.ContentHandling IGNORE
public static final Component.ContentHandling AS_ATTRIBUTE
public static final Component.ContentHandling AS_CHILD
public static Component.ContentHandling[] values()
for (Component.ContentHandling c : Component.ContentHandling.values()) System.out.println(c);
public static Component.ContentHandling 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 © 2018 Fujion Framework. All rights reserved.