1 /*
2 * Copyright 2004 The Apache Software Foundation
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 *
16 */
17 package org.apache.asn1.ber ;
18
19
20 import org.apache.asn1.codec.stateful.StatefulDecoder;
21
22
23 /***
24 * A do nothing callback adapter.
25 *
26 * @author <a href="mailto:dev@directory.apache.org">
27 * Apache Directory Project</a>
28 * @version $Rev: 157644 $
29 */
30 public class BERDecoderCallbackAdapter implements BERDecoderCallback
31 {
32 /* (non-Javadoc)
33 * @see org.apache.asn1.ber.BERDecoderCallback#tagDecoded(
34 * org.apache.asn1.ber.Tuple)
35 */
36 public void tagDecoded( Tuple tlv )
37 {
38 }
39
40
41 /* (non-Javadoc)
42 * @see org.apache.asn1.ber.BERDecoderCallback#lengthDecoded(
43 * org.apache.asn1.ber.Tuple)
44 */
45 public void lengthDecoded( Tuple tlv )
46 {
47 }
48
49
50 /* (non-Javadoc)
51 * @see org.apache.asn1.ber.BERDecoderCallback#partialValueDecoded(
52 * org.apache.asn1.ber.Tuple)
53 */
54 public void partialValueDecoded(Tuple tlv)
55 {
56 }
57
58
59 /* (non-Javadoc)
60 * @see org.apache.asn1.codec.stateful.DecoderCallback#decodeOccurred(
61 * org.apache.asn1.codec.stateful.StatefulDecoder, java.lang.Object)
62 */
63 public void decodeOccurred( StatefulDecoder decoder, Object decoded )
64 {
65 }
66 }