Check rc:yang-data template name duplications
[yangtools.git] / codec / yang-data-codec-binfmt / src / main / java / org / opendaylight / yangtools / yang / data / codec / binfmt / LithiumNode.java
1 /*
2  * Copyright (c) 2014, 2015 Cisco Systems, Inc. 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.yangtools.yang.data.codec.binfmt;
9
10 /**
11  * Stream constants identifying individual node types.
12  */
13 final class LithiumNode {
14     static final byte LEAF_NODE = 1;
15     static final byte LEAF_SET = 2;
16     static final byte LEAF_SET_ENTRY_NODE = 3;
17     static final byte CONTAINER_NODE = 4;
18     static final byte UNKEYED_LIST = 5;
19     static final byte UNKEYED_LIST_ITEM = 6;
20     static final byte MAP_NODE = 7;
21     static final byte MAP_ENTRY_NODE = 8;
22     static final byte ORDERED_MAP_NODE = 9;
23     static final byte CHOICE_NODE = 10;
24     static final byte AUGMENTATION_NODE = 11;
25     static final byte ANY_XML_NODE = 12;
26     static final byte END_NODE = 13;
27     static final byte ORDERED_LEAF_SET = 14;
28     // Note: never emitted as of yangtools-7.0.0
29     @Deprecated
30     static final byte YANG_MODELED_ANY_XML_NODE = 15;
31
32     private LithiumNode() {
33         // Utility class
34     }
35 }