<commit_before>/*
 * Copyright (c) 2015 Cisco Systems, Inc. and others.  All rights reserved.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
 * and is available at http://www.eclipse.org/legal/epl-v10.html
 */
package org.opendaylight.yangtools.yang.common;

import java.net.URI;

/**
 * Constant definitions present in RFC documents related to the YANG language.
 */
public final class YangConstants {
    /**
     * YANG File Extension, as defined in https://tools.ietf.org/html/rfc6020#section-14.1.
     */
    public static final String RFC6020_YANG_FILE_EXTENSION = ".yang";

    /**
     * YANG Media Type, as defined in https://tools.ietf.org/html/rfc6020#section-14.1.
     */
    public static final String RFC6020_YANG_MAC_FILE_TYPE = "TEXT";


    /**
     * YANG Media Type, as defined in https://tools.ietf.org/html/rfc6020#section-14.1.
     */
    public static final String RFC6020_YANG_MEDIA_TYPE = "application/yang";

    /**
     * YANG namespace, as defined in https://tools.ietf.org/html/rfc6020#section-14.
     */
    public static final URI RFC6020_YANG_NAMESPACE = URI.create("urn:ietf:params:xml:ns:yang:1");

    /**
     * Base QNameModule for all YANG statements.
     */
    public static final QNameModule RFC6020_YANG_MODULE = QNameModule.create(RFC6020_YANG_NAMESPACE, null).intern();

    /**
     * YIN File Extension, as defined in https://tools.ietf.org/html/rfc6020#section-14.2.
     */
    public static final String RFC6020_YIN_FILE_EXTENSION = ".yin";

    /**
     * YANG Media Type, as defined in https://tools.ietf.org/html/rfc6020#section-14.1.
     */
    public static final String RFC6020_MAC_FILE_TYPE = "TEXT";

    /**
     * YANG Media Type, as defined in https://tools.ietf.org/html/rfc6020#section-14.1.
     */
    public static final String RFC6020_YIN_MEDIA_TYPE = "application/xml+yin";

    /**
     * YIN namespace, as defined in https://tools.ietf.org/html/rfc6020#section-14.
     */
    public static final URI RFC6020_YIN_NAMESPACE = URI.create("urn:ietf:params:xml:ns:yang:yin:1");

    /**
     * Base QNameModule for all YIN statements.
     */
    public static final QNameModule RFC6020_YIN_MODULE = QNameModule.create(RFC6020_YIN_NAMESPACE, null).intern();

    private YangConstants() {
        throw new UnsupportedOperationException("Utility class");
    }
}<commit_msg>Add YANG Library NETCONF capability<commit_after>/*
 * Copyright (c) 2015 Cisco Systems, Inc. and others.  All rights reserved.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
 * and is available at http://www.eclipse.org/legal/epl-v10.html
 */
package org.opendaylight.yangtools.yang.common;

import java.net.URI;

/**
 * Constant definitions present in RFC documents related to the YANG language.
 */
public final class YangConstants {
    /**
     * YANG File Extension, as defined in https://tools.ietf.org/html/rfc6020#section-14.1.
     */
    public static final String RFC6020_YANG_FILE_EXTENSION = ".yang";

    /**
     * YANG Media Type, as defined in https://tools.ietf.org/html/rfc6020#section-14.1.
     */
    public static final String RFC6020_YANG_MAC_FILE_TYPE = "TEXT";


    /**
     * YANG Media Type, as defined in https://tools.ietf.org/html/rfc6020#section-14.1.
     */
    public static final String RFC6020_YANG_MEDIA_TYPE = "application/yang";

    /**
     * YANG namespace, as defined in https://tools.ietf.org/html/rfc6020#section-14.
     */
    public static final URI RFC6020_YANG_NAMESPACE = URI.create("urn:ietf:params:xml:ns:yang:1");

    /**
     * Base QNameModule for all YANG statements.
     */
    public static final QNameModule RFC6020_YANG_MODULE = QNameModule.create(RFC6020_YANG_NAMESPACE, null).intern();

    /**
     * YIN File Extension, as defined in https://tools.ietf.org/html/rfc6020#section-14.2.
     */
    public static final String RFC6020_YIN_FILE_EXTENSION = ".yin";

    /**
     * YANG Media Type, as defined in https://tools.ietf.org/html/rfc6020#section-14.1.
     */
    public static final String RFC6020_MAC_FILE_TYPE = "TEXT";

    /**
     * YANG Media Type, as defined in https://tools.ietf.org/html/rfc6020#section-14.1.
     */
    public static final String RFC6020_YIN_MEDIA_TYPE = "application/xml+yin";

    /**
     * YIN namespace, as defined in https://tools.ietf.org/html/rfc6020#section-14.
     */
    public static final URI RFC6020_YIN_NAMESPACE = URI.create("urn:ietf:params:xml:ns:yang:yin:1");

    /**
     * Base QNameModule for all YIN statements.
     */
    public static final QNameModule RFC6020_YIN_MODULE = QNameModule.create(RFC6020_YIN_NAMESPACE, null).intern();

    /**
     * YANG Library NETCONF Capability, as defined in https://tools.ietf.org/html/rfc7950#section-16.
     */
    public static final URI RFC7950_YANG_LIBRARY_CAPABILITY =
        URI.create("urn:ietf:params:netconf:capability:yang-library:1.0");

    private YangConstants() {
        throw new UnsupportedOperationException("Utility class");
    }
}
{'fraction_non_alphanumeric': 0.11585835257890685, 'fraction_numerical': 0.04541955350269438, 'mean_word_length': 3.2012934518997573, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 17, 'lorem ipsum': 0, 'www.': 2, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4559908', 'n_tokens_mistral': 1850, 'n_tokens_neox': 1681, 'n_words': 402}