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.yang.common;
13 * Constant definitions present in RFC documents related to the YANG language.
15 public final class YangConstants {
17 * YANG namespace, as defined in RFC 6020.
19 public static final URI RFC6020_YANG_NAMESPACE = URI.create("urn:ietf:params:xml:ns:yang:1");
22 * YIN namespace, as defined in RFC 6020.
24 public static final URI RFC6020_YIN_NAMESPACE = URI.create("urn:ietf:params:xml:ns:yang:yin:1");
27 * Base QNameModule for all YANG statements.
29 public static final QNameModule RFC6020_YANG_MODULE = QNameModule.cachedReference(QNameModule.create(RFC6020_YANG_NAMESPACE, null));
32 * Base QNameModule for all YIN statements.
34 public static final QNameModule RFC6020_YIN_MODULE = QNameModule.cachedReference(QNameModule.create(RFC6020_YIN_NAMESPACE, null));
36 private YangConstants() {
37 throw new UnsupportedOperationException("Utility class");