2 * Copyright (c) 2017 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.yangtools.yang.parser.rfc7950.stmt.rpc;
10 import com.google.common.annotations.Beta;
11 import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.input.InputStatementSupport;
12 import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.output.OutputStatementSupport;
13 import org.opendaylight.yangtools.yang.parser.spi.meta.StatementSupport;
16 * Bridge class for RFC7950 RPCs. Specializes implicit input/output statements.
18 * @author Robert Varga
21 public final class RpcStatementRFC7950Support extends AbstractRpcStatementSupport {
22 private static final RpcStatementRFC7950Support INSTANCE = new RpcStatementRFC7950Support();
24 private RpcStatementRFC7950Support() {
28 public static RpcStatementRFC7950Support getInstance() {
33 StatementSupport<?, ?, ?> implictInput() {
34 return InputStatementSupport.rfc7950Instance();
38 StatementSupport<?, ?, ?> implictOutput() {
39 return OutputStatementSupport.rfc7950Instance();