public enum ParameterCollectionTypeEncoder extends Enum<ParameterCollectionTypeEncoder>
Modifier and Type | Method and Description |
---|---|
abstract String |
encode(ParameterDataType dataType,
List<String> value) |
static ParameterCollectionTypeEncoder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParameterCollectionTypeEncoder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParameterCollectionTypeEncoder SINGLE
public static final ParameterCollectionTypeEncoder MULTIPLE
public static ParameterCollectionTypeEncoder[] values()
for (ParameterCollectionTypeEncoder c : ParameterCollectionTypeEncoder.values()) System.out.println(c);
public static ParameterCollectionTypeEncoder 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 abstract String encode(ParameterDataType dataType, List<String> value) throws ValueEncodeException, ParameterCollectionException
Copyright © 2014–2018 Apache Software Foundation. All rights reserved.