public static enum IonWriterBuilder.IvmMinimizing extends Enum<IonWriterBuilder.IvmMinimizing>
This strategy does not affect handling of IVMs at the start of a data
stream; that's the job of IonWriterBuilder.InitialIvmHandling
.
Enum Constant and Description |
---|
ADJACENT
Replaces identical, adjacent IVMs with a single IVM.
|
DISTANT
Discards IVMs that don't change the Ion version, even when there's
other data between them.
|
Modifier and Type | Method and Description |
---|---|
static IonWriterBuilder.IvmMinimizing |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IonWriterBuilder.IvmMinimizing[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IonWriterBuilder.IvmMinimizing ADJACENT
public static final IonWriterBuilder.IvmMinimizing DISTANT
public static IonWriterBuilder.IvmMinimizing[] values()
for (IonWriterBuilder.IvmMinimizing c : IonWriterBuilder.IvmMinimizing.values()) System.out.println(c);
public static IonWriterBuilder.IvmMinimizing 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