Disconnect mdsal-bind-dom-codec yangtools/mdsal APIs
[mdsal.git] / binding / mdsal-binding-dom-codec / src / main / java / org / opendaylight / yangtools / binding / data / codec / api / BindingCodecTree.java
1 /*
2  * Copyright (c) 2015 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.yangtools.binding.data.codec.api;
9
10 import javax.annotation.Nullable;
11 import org.opendaylight.yangtools.yang.binding.DataObject;
12 import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
13 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
14 import org.opendaylight.yangtools.yang.model.api.SchemaPath;
15
16 /**
17  *
18  * Navigable tree representing hierarchy of Binding to Normalized Node codecs
19  *
20  * This navigable tree is associated to conrete set of YANG models, represented by SchemaContext and
21  * provides access to subtree specific serialization context.
22  *
23  * @deprecated Use {@link org.opendaylight.mdsal.binding.dom.codec.api.BindingCodecTree} instead.
24  **/
25 @Deprecated
26 public interface BindingCodecTree {
27
28       @Nullable <T extends DataObject> BindingCodecTreeNode<T> getSubtreeCodec(InstanceIdentifier<T> path);
29
30       @Nullable BindingCodecTreeNode<?> getSubtreeCodec(YangInstanceIdentifier path);
31
32       @Nullable BindingCodecTreeNode<?> getSubtreeCodec(SchemaPath path);
33
34 }