2 * Copyright (c) 2019 PANTHEON.tech, 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.data.util;
10 import org.opendaylight.yangtools.yang.common.QName;
11 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument;
12 import org.opendaylight.yangtools.yang.model.api.DataSchemaNode;
13 import org.opendaylight.yangtools.yang.model.util.SchemaInferenceStack;
15 abstract class AbstractLeafContextNode<T extends PathArgument, S extends DataSchemaNode>
16 extends DataSchemaContextNode<T> {
17 AbstractLeafContextNode(final T identifier, final S schema) {
18 super(identifier, schema);
22 public final DataSchemaContextNode<?> getChild(final PathArgument child) {
27 public final DataSchemaContextNode<?> getChild(final QName child) {
32 protected final DataSchemaContextNode<?> enterChild(final QName child, final SchemaInferenceStack stack) {
37 protected final DataSchemaContextNode<?> enterChild(final PathArgument child, final SchemaInferenceStack stack) {