@Override protected JSONCodec<?> decimalCodec(final DecimalTypeDefinition type) { return new NumberJSONCodec<>(DecimalStringCodec.from(type)); }
public static DecimalStringCodec from(final DecimalTypeDefinition type) { return new DecimalStringCodec(Optional.of(type)); }
@Override protected XmlCodec<?> decimalCodec(final DecimalTypeDefinition type) { return new NumberXmlCodec<>(DecimalStringCodec.from(type)); }
public static DecimalStringCodec from(final DecimalTypeDefinition type) { return new DecimalStringCodec(Optional.of(type)); }
@Override protected JSONCodec<?> decimalCodec(final DecimalTypeDefinition type) { return new NumberJSONCodec<>(DecimalStringCodec.from(type)); }
codec = BooleanStringCodec.from((BooleanTypeDefinition)typeDefinition); } else if (typeDefinition instanceof DecimalTypeDefinition) { codec = DecimalStringCodec.from((DecimalTypeDefinition)typeDefinition); } else if (typeDefinition instanceof EmptyTypeDefinition) { codec = EmptyStringCodec.INSTANCE;
codec = BooleanStringCodec.from((BooleanTypeDefinition)typeDefinition); } else if (typeDefinition instanceof DecimalTypeDefinition) { codec = DecimalStringCodec.from((DecimalTypeDefinition)typeDefinition); } else if (typeDefinition instanceof EmptyTypeDefinition) { codec = EmptyStringCodec.INSTANCE;