public enum ElementContentType extends java.lang.Enum<ElementContentType>
| Enum Constant | Description |
|---|---|
EMPTY |
The element has no children.
|
MIXED |
The element has text and non-text (element or comment) children.
|
NON_TEXT |
The element has only non-text children: elements or comments.
|
TEXT |
The element has only text children.
|
| Modifier and Type | Method | Description |
|---|---|---|
static ElementContentType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ElementContentType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ElementContentType EMPTY
public static final ElementContentType TEXT
public static final ElementContentType NON_TEXT
public static final ElementContentType MIXED
public static ElementContentType[] values()
for (ElementContentType c : ElementContentType.values()) System.out.println(c);
public static ElementContentType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2018. All rights reserved.