2998c5689fff11910baced0dfb3867e475d5a040
[mdsal.git] / yanglib / mdsal-yanglib-api / src / main / java / org / opendaylight / mdsal / yanglib / api / YangLibSupportFactory.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.yanglib.api;
9
10 import com.google.common.annotations.Beta;
11 import java.io.IOException;
12 import org.eclipse.jdt.annotation.NonNullByDefault;
13 import org.opendaylight.yangtools.yang.model.parser.api.YangParserException;
14 import org.opendaylight.yangtools.yang.model.parser.api.YangParserFactory;
15
16 /**
17  * Main entrypoint for instantiating YangLibSupport implementations.
18  */
19 @Beta
20 @NonNullByDefault
21 public interface YangLibSupportFactory {
22
23     YangLibSupport createYangLibSupport(YangParserFactory parserFactory) throws YangParserException, IOException;
24 }