2d4d0e6d2db75a2fe6fee597d131fc8d4ee7975b
[mdsal.git] / binding / mdsal-binding-dom-codec-api / src / main / java / org / opendaylight / mdsal / binding / dom / codec / api / BindingObjectCodecTreeNode.java
1 /*
2  * Copyright (c) 2019 PANTHEON.tech, s.r.o. 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 com.google.common.annotations.Beta;
11 import org.eclipse.jdt.annotation.NonNull;
12
13 @Beta
14 public sealed interface BindingObjectCodecTreeNode extends BindingCodecTreeNode
15         permits BindingDataContainerCodecTreeNode, BindingOpaqueObjectCodecTreeNode, BindingTypeObjectCodecTreeNode {
16     /**
17      * Returns binding class which represents API of current schema node.
18      *
19      * @return interface which defines API of binding representation of data.
20      */
21     @NonNull Class<?> getBindingClass();
22 }