/* * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org.opendaylight.yangtools.yang.data.impl.codec; import java.util.List; import org.opendaylight.yangtools.concepts.Identifiable; import org.opendaylight.yangtools.yang.binding.Augmentation; import org.opendaylight.yangtools.yang.binding.BaseIdentity; import org.opendaylight.yangtools.yang.binding.DataContainer; import org.opendaylight.yangtools.yang.binding.Identifier; import org.opendaylight.yangtools.yang.common.QName; public interface CodecRegistry { InstanceIdentifierCodec getInstanceIdentifierCodec(); IdentityCodec getIdentityCodec(); DataContainerCodec getCodecForDataObject(Class object); > IdentifierCodec getIdentifierCodecForIdentifiable(Class object); > IdentifierCodec getCodecForIdentifier(Class object); > AugmentationCodec getCodecForAugmentation(Class object); IdentityCodec getCodecForIdentity(Class codec); Class getClassForPath(List names); IdentifierCodec getKeyCodecForPath(List names); void bindingClassEncountered(Class cls); void putPathToClass(List names, Class cls); QName getQNameForAugmentation(Class cls); }