Disconnect RestconfDataServiceImpl from streams
[netconf.git] / restconf / restconf-nb / src / main / java / org / opendaylight / restconf / nb / rfc8040 / utils / parser / ParserConstants.java
1 /*
2  * Copyright (c) 2020 PANTHEON.tech, s.r.o. 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.restconf.nb.rfc8040.utils.parser;
9
10 import com.google.common.base.CharMatcher;
11 import org.opendaylight.yangtools.yang.common.YangNames;
12
13 /**
14  * Various constants related to RFC3986 (URI) and RFC7950 (YANG) parsing in the context of RFC8040.
15  */
16 final class ParserConstants {
17     // Subsequent characters of RFC7950 "identifier" rule
18     static final CharMatcher YANG_IDENTIFIER_PART = YangNames.NOT_IDENTIFIER_PART.negate().precomputed();
19
20     private ParserConstants() {
21         // Hidden on purpose
22     }
23 }