2 * Copyright (c) 2017 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.parser.rfc7950.stmt.rpc;
10 import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.input.InputStatementRFC6020Support;
11 import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.output.OutputStatementRFC6020Support;
12 import org.opendaylight.yangtools.yang.parser.spi.meta.StatementSupport;
14 public final class RpcStatementRFC6020Support extends AbstractRpcStatementSupport {
15 // TODO: share instances
16 private static final StatementSupport<?, ?, ?> IMPLICIT_INPUT = new InputStatementRFC6020Support();
17 private static final StatementSupport<?, ?, ?> IMPLICIT_OUTPUT = new OutputStatementRFC6020Support();
20 StatementSupport<?, ?, ?> implictInput() {
21 return IMPLICIT_INPUT;
25 StatementSupport<?, ?, ?> implictOutput() {
26 return IMPLICIT_OUTPUT;