Package com.amazon.ion.system
Enum IonTextWriterBuilder.LstMinimizing
- java.lang.Object
-
- java.lang.Enum<IonTextWriterBuilder.LstMinimizing>
-
- com.amazon.ion.system.IonTextWriterBuilder.LstMinimizing
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<IonTextWriterBuilder.LstMinimizing>
- Enclosing class:
- IonTextWriterBuilder
public static enum IonTextWriterBuilder.LstMinimizing extends java.lang.Enum<IonTextWriterBuilder.LstMinimizing>
A strategy for minimizing the output of local symbol tables. By default, no minimization takes place and the writer outputs all data as-is.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EVERYTHINGDiscards everything, collapsing the LST to an IVM.LOCALSDiscards local symbols, retains imports.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IonTextWriterBuilder.LstMinimizingvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static IonTextWriterBuilder.LstMinimizing[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOCALS
public static final IonTextWriterBuilder.LstMinimizing LOCALS
Discards local symbols, retains imports.
-
EVERYTHING
public static final IonTextWriterBuilder.LstMinimizing EVERYTHING
Discards everything, collapsing the LST to an IVM. IfIonWriterBuilder.IvmMinimizingis also in effect, then even that IVM may be suppressed.
-
-
Method Detail
-
values
public static IonTextWriterBuilder.LstMinimizing[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (IonTextWriterBuilder.LstMinimizing c : IonTextWriterBuilder.LstMinimizing.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IonTextWriterBuilder.LstMinimizing valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-