org.apache.asn1.ber
Class TagDecoder

java.lang.Object
  extended byorg.apache.asn1.codec.stateful.AbstractStatefulDecoder
      extended byorg.apache.asn1.ber.TagDecoder
All Implemented Interfaces:
org.apache.asn1.codec.stateful.StatefulDecoder

public class TagDecoder
extends org.apache.asn1.codec.stateful.AbstractStatefulDecoder

A BER TLV Tag component decoder. This decoder delivers a Tag instance to its callback. For efficiency the same Tag object is reused. Callback implementations should not copy the handle to the Tag object delivered but should copy the data if they need it over the long term.

Version:
$Rev: 157644 $
Author:
Apache Directory Project

Field Summary
private  Tag tag
           
 
Fields inherited from class org.apache.asn1.codec.stateful.AbstractStatefulDecoder
 
Constructor Summary
TagDecoder()
           
 
Method Summary
 void decode(java.lang.Object encoded)
           
 
Methods inherited from class org.apache.asn1.codec.stateful.AbstractStatefulDecoder
decodeOccurred, getDecoderMonitor, setCallback, setDecoderMonitor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tag

private final Tag tag
Constructor Detail

TagDecoder

public TagDecoder()
Method Detail

decode

public void decode(java.lang.Object encoded)
            throws org.apache.asn1.codec.DecoderException
Throws:
org.apache.asn1.codec.DecoderException


Copyright © 2004-2006 . All Rights Reserved.