org.apache.directory.shared.asn1.actions
Class AbstractReadBitString<E extends Asn1Container>
java.lang.Object
org.apache.directory.shared.asn1.ber.grammar.GrammarAction<E>
org.apache.directory.shared.asn1.actions.AbstractReadBitString<E>
- All Implemented Interfaces:
- Action<E>
public abstract class AbstractReadBitString<E extends Asn1Container>
- extends GrammarAction<E>
The action used read a BITSTRING from a TLV
- Author:
- Apache Directory Project
| Fields inherited from class org.apache.directory.shared.asn1.ber.grammar.GrammarAction |
name |
|
Method Summary |
void |
action(E container)
The action to be executed. |
protected abstract void |
setBitString(byte[] data,
E container)
gives a byte array to be set to the appropriate field of the ASN.1 object
present in the container |
AbstractReadBitString
public AbstractReadBitString(String name)
- Instantiates a new AbstractReadByteArray action.
setBitString
protected abstract void setBitString(byte[] data,
E container)
- gives a byte array to be set to the appropriate field of the ASN.1 object
present in the container
- Parameters:
data - the data of the read TLV present in byte array formatcontainer - the container holding the ASN.1 object
action
public final void action(E container)
throws DecoderException
- The action to be executed.
- Parameters:
container - The container which stores the current data
- Throws:
DecoderException - Thrown if something went wrong.
Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.