Merge branch 'master' of ../controller
[yangtools.git] / yang / yang-parser-spi / src / main / java / org / opendaylight / yangtools / yang / parser / spi / meta / ImportedNamespaceContext.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.yangtools.yang.parser.spi.meta;
9
10 import org.opendaylight.yangtools.yang.model.api.meta.IdentifierNamespace;
11
12 /**
13  * Special namespace which allows import of namespaces from other sources.
14  *
15  * <p>
16  * This namespace and its subclasses are used by model processor to
17  * link / import namespaces to context node from supplied {@link StmtContext}.
18  *
19  * <p>
20  * This abstraction allows for imports and includes be implement as derived
21  * namespaces of this, but is not tied only for import and include statements.
22  *
23  * @param <K> Imported context identifier
24  */
25 public interface ImportedNamespaceContext<K> extends IdentifierNamespace<K, StmtContext<?, ?, ?>> {
26
27 }