@Override protected JSONCodec<?> bitsCodec(final BitsTypeDefinition type) { return new QuotedJSONCodec<>(BitsStringCodec.from(type)); }
public static BitsStringCodec from(final BitsTypeDefinition type) { return new BitsStringCodec(Optional.of(type)); }
@Override protected XmlCodec<?> bitsCodec(final BitsTypeDefinition type) { return new QuotedXmlCodec<>(BitsStringCodec.from(type)); }
public static BitsStringCodec from(final BitsTypeDefinition type) { return new BitsStringCodec(Optional.of(type)); }
@Override protected JSONCodec<?> bitsCodec(final BitsTypeDefinition type) { return new QuotedJSONCodec<>(BitsStringCodec.from(type)); }
codec = BinaryStringCodec.from((BinaryTypeDefinition)typeDefinition); } else if (typeDefinition instanceof BitsTypeDefinition) { codec = BitsStringCodec.from((BitsTypeDefinition)typeDefinition); } else if (typeDefinition instanceof BooleanTypeDefinition) { codec = BooleanStringCodec.from((BooleanTypeDefinition)typeDefinition);
codec = BinaryStringCodec.from((BinaryTypeDefinition)typeDefinition); } else if (typeDefinition instanceof BitsTypeDefinition) { codec = BitsStringCodec.from((BitsTypeDefinition)typeDefinition); } else if (typeDefinition instanceof BooleanTypeDefinition) { codec = BooleanStringCodec.from((BooleanTypeDefinition)typeDefinition);