Fix eclipse/checkstyle warnings
[yangtools.git] / yang / yang-data-api / src / main / java / org / opendaylight / yangtools / yang / data / api / schema / stream / ForwardingNormalizedNodeStreamWriter.java
1 /*
2  * Copyright (c) 2015 Cisco Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8 package org.opendaylight.yangtools.yang.data.api.schema.stream;
9
10 import com.google.common.collect.ForwardingObject;
11 import java.io.IOException;
12 import org.opendaylight.yangtools.yang.common.QName;
13 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.AugmentationIdentifier;
14 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier;
15 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates;
16
17 public abstract class ForwardingNormalizedNodeStreamWriter extends ForwardingObject
18         implements NormalizedNodeStreamWriter {
19     @Override
20     protected abstract NormalizedNodeStreamWriter delegate();
21
22     @Override
23     public void leafNode(final NodeIdentifier name, final Object value) throws IOException {
24         delegate().leafNode(name, value);
25     }
26
27     @Override
28     public void startLeafSet(final NodeIdentifier name, final int childSizeHint) throws IOException {
29         delegate().startLeafSet(name, childSizeHint);
30     }
31
32     @Override
33     public void startOrderedLeafSet(final NodeIdentifier name, final int childSizeHint) throws IOException {
34         delegate().startOrderedLeafSet(name, childSizeHint);
35     }
36
37     @Override
38     public void leafSetEntryNode(final QName name, final Object value) throws IOException {
39         delegate().leafSetEntryNode(name, value);
40     }
41
42     @Override
43     public void startContainerNode(final NodeIdentifier name, final int childSizeHint) throws IOException {
44         delegate().startContainerNode(name, childSizeHint);
45     }
46
47     @Override
48     public void startUnkeyedList(final NodeIdentifier name, final int childSizeHint) throws IOException {
49         delegate().startUnkeyedList(name, childSizeHint);
50     }
51
52     @Override
53     public void startUnkeyedListItem(final NodeIdentifier name, final int childSizeHint) throws IOException {
54         delegate().startUnkeyedListItem(name, childSizeHint);
55     }
56
57     @Override
58     public final void startMapNode(final NodeIdentifier name, final int childSizeHint) throws IOException {
59         delegate().startMapNode(name, childSizeHint);
60     }
61
62     @Override
63     public void startMapEntryNode(final NodeIdentifierWithPredicates identifier, final int childSizeHint)
64             throws IOException {
65         delegate().startMapEntryNode(identifier, childSizeHint);
66     }
67
68     @Override
69     public void startOrderedMapNode(final NodeIdentifier name, final int childSizeHint) throws IOException {
70         delegate().startOrderedMapNode(name, childSizeHint);
71     }
72
73     @Override
74     public void startChoiceNode(final NodeIdentifier name, final int childSizeHint) throws IOException {
75         delegate().startChoiceNode(name, childSizeHint);
76     }
77
78     @Override
79     public void startAugmentationNode(final AugmentationIdentifier identifier) throws IOException {
80         delegate().startAugmentationNode(identifier);
81     }
82
83     @Override
84     public void anyxmlNode(final NodeIdentifier name, final Object value) throws IOException {
85         delegate().anyxmlNode(name, value);
86     }
87
88     @Override
89     public void startYangModeledAnyXmlNode(final NodeIdentifier name, final int childSizeHint) throws IOException {
90         delegate().startYangModeledAnyXmlNode(name, childSizeHint);
91     }
92
93     @Override
94     public void endNode() throws IOException {
95         delegate().endNode();
96     }
97
98     @Override
99     public void close() throws IOException {
100         delegate().close();
101     }
102
103     @Override
104     public void flush() throws IOException {
105         delegate().flush();
106     }
107 }