import org.opendaylight.yangtools.yang.data.impl.codec.AbstractIntegerStringCodec;
import org.opendaylight.yangtools.yang.data.impl.codec.DecimalStringCodec;
import org.opendaylight.yangtools.yang.data.util.codec.CodecCache;
-import org.opendaylight.yangtools.yang.model.api.SchemaContext;
+import org.opendaylight.yangtools.yang.model.api.EffectiveModelContext;
import org.opendaylight.yangtools.yang.model.api.type.InstanceIdentifierTypeDefinition;
final class Lhotka02JSONCodecFactory extends JSONCodecFactory {
private final JSONInstanceIdentifierCodec iidCodec;
- Lhotka02JSONCodecFactory(final SchemaContext context, final CodecCache<JSONCodec<?>> cache) {
+ Lhotka02JSONCodecFactory(final EffectiveModelContext context, final CodecCache<JSONCodec<?>> cache) {
super(context, cache);
iidCodec = new Lhotka02JSONInstanceIdentifierCodec(context, this);
}
}
@Override
- Lhotka02JSONCodecFactory rebaseTo(final SchemaContext newSchemaContext, final CodecCache<JSONCodec<?>> newCache) {
+ Lhotka02JSONCodecFactory rebaseTo(final EffectiveModelContext newSchemaContext,
+ final CodecCache<JSONCodec<?>> newCache) {
return new Lhotka02JSONCodecFactory(newSchemaContext, newCache);
}