2 * Copyright (c) 2020 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.parser.rfc7950.stmt;
10 import com.google.common.annotations.Beta;
11 import org.opendaylight.yangtools.yang.model.api.meta.DeclaredStatement;
12 import org.opendaylight.yangtools.yang.model.api.meta.EffectiveStatement;
13 import org.opendaylight.yangtools.yang.model.api.meta.StatementDefinition;
14 import org.opendaylight.yangtools.yang.parser.spi.meta.StmtContext;
17 * Specialization of {@link BaseStatementSupport} for String statement arguments. Note this implies context-independence
20 * @param <D> Declared Statement representation
21 * @param <E> Effective Statement representation
24 public abstract class BaseStringStatementSupport<D extends DeclaredStatement<String>,
25 E extends EffectiveStatement<String, D>> extends BaseStatementSupport<String, D, E> {
26 protected BaseStringStatementSupport(final StatementDefinition publicDefinition, final CopyPolicy copyPolicy) {
27 super(publicDefinition, copyPolicy);
31 public final String parseArgumentValue(final StmtContext<?, ?, ?> ctx, final String value) {