Promote BindingRuntimeContext to binding-generator-api
[mdsal.git] / binding / mdsal-binding-dom-codec-api / src / main / java / org / opendaylight / mdsal / binding / dom / codec / api / BindingCodecTreeFactory.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 org.opendaylight.mdsal.binding.generator.api.BindingRuntimeContext;
11
12 public interface BindingCodecTreeFactory {
13     /**
14      * Creates Binding Codec Tree for specified Binding runtime context.
15      *
16      * @param context
17      *            Binding Runtime Context for which Binding codecs should be
18      *            instantiated.
19      * @return Binding Codec Tree for specified Binding runtime context.
20      */
21     BindingCodecTree create(BindingRuntimeContext context);
22 }