public final class BooleanAttributeValueMarshaller extends Object implements AttributeValueMarshaller<Boolean>
Constructor and Description |
---|
BooleanAttributeValueMarshaller() |
Modifier and Type | Method and Description |
---|---|
String |
marshal(AttributeValue<Boolean> value)
Marshals the given typed value as a
String . |
AttributeValue<Boolean> |
unmarshal(String value,
boolean isNonLatinScriptAlternateVersion)
Unmarshals the given
String as a typed value. |
@Nonnull public String marshal(@Nonnull AttributeValue<Boolean> value)
AttributeValueMarshaller
String
.marshal
in interface AttributeValueMarshaller<Boolean>
value
- the typed value to marshal as a String
.String
representation of the given typed value.@Nonnull public AttributeValue<Boolean> unmarshal(@Nonnull String value, boolean isNonLatinScriptAlternateVersion)
AttributeValueMarshaller
String
as a typed value.unmarshal
in interface AttributeValueMarshaller<Boolean>
value
- the String
representation to unmarshal to a typed value.isNonLatinScriptAlternateVersion
- indicates whether the provided value is the non-latin script alternate
version of another attribute value.String
representation.Copyright © 2020. All Rights Reserved.