Move data extensions to data/
[yangtools.git] / yang / rfc8528-data-api / src / main / java / org / opendaylight / yangtools / rfc8528 / data / api / MountPointContextFactory.java
diff --git a/yang/rfc8528-data-api/src/main/java/org/opendaylight/yangtools/rfc8528/data/api/MountPointContextFactory.java b/yang/rfc8528-data-api/src/main/java/org/opendaylight/yangtools/rfc8528/data/api/MountPointContextFactory.java
deleted file mode 100644 (file)
index 0823e0c..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Copyright (c) 2019 PANTHEON.tech s.r.o. and others. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-package org.opendaylight.yangtools.rfc8528.data.api;
-
-import com.google.common.annotations.Beta;
-import java.util.Map;
-import org.eclipse.jdt.annotation.NonNullByDefault;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yangtools.rfc8528.data.api.YangLibraryConstants.ContainerName;
-import org.opendaylight.yangtools.yang.parser.api.YangParserException;
-
-/**
- * An entity able to resolve the SchemaContext for embedded mount points based on generic data provided by the current
- * interpretation context.
- */
-@Beta
-@NonNullByDefault
-public interface MountPointContextFactory {
-    /**
-     * Create a mount point context based on available information. Implementations are expected to attempt to interpret
-     * provided data to their best of their ability.
-     *
-     * @param libraryContainers available YANG library containers in opaque format
-     * @param schemaMounts the content of 'schema-mounts' container, if available
-     * @return A {@link MountPointContext}
-     * @throws YangParserException if the schema cannot be assembled
-     */
-    MountPointContext createContext(Map<ContainerName, MountPointChild> libraryContainers,
-            @Nullable MountPointChild schemaMounts) throws YangParserException;
-}