2 * Copyright (c) 2018 Pantheon Technologies, s.r.o. 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.xpath.api;
10 import static java.util.Objects.requireNonNull;
12 import com.google.common.annotations.Beta;
15 * XPath node type as defined in <a href="https://www.w3.org/TR/1999/REC-xpath-19991116/#NT-NodeType">XPath 1.0</a>.
17 * @author Robert Varga
20 public enum YangXPathNodeType {
30 * A {@code processing-instruction}.
32 PROCESSING_INSTRUCTION("processing-instruction"),
38 private final String str;
40 YangXPathNodeType(final String str) {
41 this.str = requireNonNull(str);
45 public String toString() {