2 * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
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
8 package org.opendaylight.yangtools.odlext.parser;
10 import org.eclipse.jdt.annotation.NonNull;
11 import org.opendaylight.yangtools.odlext.model.api.AnyxmlSchemaLocationStatement;
12 import org.opendaylight.yangtools.yang.model.api.meta.EffectiveStatement;
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;
20 * Source-specific mapping of prefixes to namespaces.
22 public interface AnyxmlSchemaLocationNamespace extends IdentifierNamespace<StatementDefinition,
23 Mutable<SchemaNodeIdentifier, AnyxmlSchemaLocationStatement,
24 EffectiveStatement<SchemaNodeIdentifier, AnyxmlSchemaLocationStatement>>> {
25 NamespaceBehaviour<StatementDefinition, Mutable<SchemaNodeIdentifier, AnyxmlSchemaLocationStatement,
26 EffectiveStatement<SchemaNodeIdentifier, AnyxmlSchemaLocationStatement>>,
27 @NonNull AnyxmlSchemaLocationNamespace> BEHAVIOUR =
28 NamespaceBehaviour.treeScoped(AnyxmlSchemaLocationNamespace.class);