2 * Copyright (c) 2014, 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.controller.cluster.datastore.node.utils.stream;
11 * Stream constants identifying individual node types.
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 static final byte YANG_MODELED_ANY_XML_NODE = 15;
30 private LithiumNode() {
31 throw new UnsupportedOperationException("utility class");