2 * Copyright (c) 2020 PANTHEON.tech, s.r.o. 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.rfc8040.parser;
10 import com.google.common.annotations.Beta;
11 import org.eclipse.jdt.annotation.NonNull;
12 import org.opendaylight.yangtools.yang.common.Empty;
13 import org.opendaylight.yangtools.yang.common.QName;
14 import org.opendaylight.yangtools.yang.parser.spi.meta.NamespaceBehaviour;
15 import org.opendaylight.yangtools.yang.parser.spi.meta.ParserNamespace;
18 * Namespace for remembering the {@code yang-data} argument's QName. This namespace is necessary because we are forced
19 * to have a String argument due to us being an extension.
22 // FIXME: YANGTOOLS-1196: remove this namespace once we can bind freely
23 public interface YangDataArgumentNamespace extends ParserNamespace<Empty, QName> {
24 NamespaceBehaviour<Empty, QName, @NonNull YangDataArgumentNamespace> BEHAVIOUR =
25 NamespaceBehaviour.statementLocal(YangDataArgumentNamespace.class);