YANGTOOLS-706: move odlext parser support
[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.opendaylight.yangtools.odlext.model.api.AnyxmlSchemaLocationStatement;
11 import org.opendaylight.yangtools.yang.model.api.meta.EffectiveStatement;
12 import org.opendaylight.yangtools.yang.model.api.meta.IdentifierNamespace;
13 import org.opendaylight.yangtools.yang.model.api.meta.StatementDefinition;
14 import org.opendaylight.yangtools.yang.model.api.stmt.SchemaNodeIdentifier;
15 import org.opendaylight.yangtools.yang.parser.spi.meta.NamespaceBehaviour;
16 import org.opendaylight.yangtools.yang.parser.spi.meta.StmtContext.Mutable;
17
18 /**
19  * Source-specific mapping of prefixes to namespaces.
20  */
21 public interface AnyxmlSchemaLocationNamespace extends IdentifierNamespace<StatementDefinition,
22     Mutable<SchemaNodeIdentifier, AnyxmlSchemaLocationStatement,
23         EffectiveStatement<SchemaNodeIdentifier, AnyxmlSchemaLocationStatement>>> {
24     NamespaceBehaviour<?, ?, ?> BEHAVIOR = NamespaceBehaviour.treeScoped(AnyxmlSchemaLocationNamespace.class);
25 }