public static enum IonWriterBuilder.InitialIvmHandling extends Enum<IonWriterBuilder.InitialIvmHandling>
Enum Constant and Description |
---|
ENSURE
Always emits an initial IVM, even when the user hasn't explicitly
written one.
|
SUPPRESS
Indicates that initial IVMs should be suppressed from the output
stream whenever possible, even when they are explicitly written.
|
Modifier and Type | Method and Description |
---|---|
static IonWriterBuilder.InitialIvmHandling |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IonWriterBuilder.InitialIvmHandling[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IonWriterBuilder.InitialIvmHandling ENSURE
public static final IonWriterBuilder.InitialIvmHandling SUPPRESS
public static IonWriterBuilder.InitialIvmHandling[] values()
for (IonWriterBuilder.InitialIvmHandling c : IonWriterBuilder.InitialIvmHandling.values()) System.out.println(c);
public static IonWriterBuilder.InitialIvmHandling 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 null