public enum LiteralContentSequenceType extends java.lang.Enum<LiteralContentSequenceType>
LiteralMetadataContentEvents that can be nested inside an
LiteralMetadataEvent.| Enum Constant and Description |
|---|
SIMPLE
Indicates that a single
LiteralMetadataContentEvent representing a simple value will be nested. |
XML
Indicates that a sequence of
LiteralMetadataContentEvents will be nested. |
| Modifier and Type | Method and Description |
|---|---|
static LiteralContentSequenceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LiteralContentSequenceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LiteralContentSequenceType SIMPLE
LiteralMetadataContentEvent representing a simple value will be nested.public static final LiteralContentSequenceType XML
LiteralMetadataContentEvents will be nested. Each of them represents
one XML element as they are read by an implementation of XMLEventReader. (The data represented by the
XML sequence as a whole is the literal value.)public static LiteralContentSequenceType[] values()
for (LiteralContentSequenceType c : LiteralContentSequenceType.values()) System.out.println(c);
public static LiteralContentSequenceType 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 null