public enum ContainerSerializationStyle extends Enum<ContainerSerializationStyle>
Enum Constant and Description |
---|
csv
Comma separated values: "value1,value2,value3"
aliases: "csv", "commaDelimited", "form", "simple"
|
dsv
Dot delimited values: "value1.value2.value3"
aliases: "dsv", "dotDelimited", "label"
|
matrix_exploded_array
For internal usage, don't use it
|
psv
Pipe separated values: "value1|value2|value3"
aliases: "psv", "pipeDelimited"
|
simple_exploded_object
For internal usage, don't use it
|
ssv
Space separated values: "value1 value2 value3"
aliases: "ssv", "spaceDelimited"
|
Modifier and Type | Method and Description |
---|---|
ContainerDeserializer |
deserializer() |
static ContainerSerializationStyle |
getContainerStyle(String s) |
List<String> |
names() |
static ContainerSerializationStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContainerSerializationStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContainerSerializationStyle csv
public static final ContainerSerializationStyle ssv
public static final ContainerSerializationStyle psv
public static final ContainerSerializationStyle dsv
public static final ContainerSerializationStyle simple_exploded_object
public static final ContainerSerializationStyle matrix_exploded_array
public static ContainerSerializationStyle[] values()
for (ContainerSerializationStyle c : ContainerSerializationStyle.values()) System.out.println(c);
public static ContainerSerializationStyle 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 nullpublic ContainerDeserializer deserializer()
public static ContainerSerializationStyle getContainerStyle(String s)
Copyright © 2023 Eclipse. All rights reserved.