e780c9d427e40a5caaa2127883edf6b1bf2c047f
[yangtools.git] / yang / odlext-parser-support / src / main / java / org / opendaylight / yangtools / odlext / parser / AnyxmlSchemaLocationNamespace.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.odlext.parser;
9
10 import org.eclipse.jdt.annotation.NonNull;
11 import org.opendaylight.yangtools.odlext.model.api.AnyxmlSchemaLocationEffectiveStatement;
12 import org.opendaylight.yangtools.odlext.model.api.AnyxmlSchemaLocationStatement;
13 import org.opendaylight.yangtools.yang.model.api.meta.IdentifierNamespace;
14 import org.opendaylight.yangtools.yang.model.api.meta.StatementDefinition;
15 import org.opendaylight.yangtools.yang.model.api.stmt.SchemaNodeIdentifier;
16 import org.opendaylight.yangtools.yang.parser.spi.meta.NamespaceBehaviour;
17 import org.opendaylight.yangtools.yang.parser.spi.meta.StmtContext.Mutable;
18
19 /**
20  * Source-specific mapping of prefixes to namespaces.
21  */
22 public interface AnyxmlSchemaLocationNamespace extends IdentifierNamespace<StatementDefinition,
23         Mutable<SchemaNodeIdentifier, AnyxmlSchemaLocationStatement, AnyxmlSchemaLocationEffectiveStatement>> {
24     NamespaceBehaviour<StatementDefinition, Mutable<SchemaNodeIdentifier, AnyxmlSchemaLocationStatement,
25         AnyxmlSchemaLocationEffectiveStatement>,
26         @NonNull AnyxmlSchemaLocationNamespace> BEHAVIOUR =
27             NamespaceBehaviour.treeScoped(AnyxmlSchemaLocationNamespace.class);
28 }