Fix checkstyle in mdsal-binding-dom-codec
[mdsal.git] / binding / mdsal-binding-dom-codec / src / main / java / org / opendaylight / mdsal / binding / dom / 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.mdsal.binding.dom.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  * Navigable tree representing hierarchy of Binding to Normalized Node codecs. This navigable tree is associated to
18  * a concrete set of YANG models, represented by SchemaContext and provides access to subtree specific serialization
19  * context.
20  */
21 // TODO: Add more detailed documentation
22 public interface BindingCodecTree {
23
24     @Nullable
25     <T extends DataObject> BindingCodecTreeNode<T> getSubtreeCodec(InstanceIdentifier<T> path);
26
27     @Nullable
28     BindingCodecTreeNode<?> getSubtreeCodec(YangInstanceIdentifier path);
29
30     @Nullable
31     BindingCodecTreeNode<?> getSubtreeCodec(SchemaPath path);
32
33 }