public abstract class AbstractReadBitString<E extends Asn1Container> extends GrammarAction<E>
name
Constructor and Description |
---|
AbstractReadBitString(String name)
Instantiates a new AbstractReadByteArray action.
|
Modifier and Type | Method and Description |
---|---|
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
|
toString
public AbstractReadBitString(String name)
protected abstract void setBitString(byte[] data, E container)
data
- the data of the read TLV present in byte array formatcontainer
- the container holding the ASN.1 objectpublic final void action(E container) throws DecoderException
container
- The container which stores the current dataDecoderException
- Thrown if something went wrong.Copyright © 2003-2014 The Apache Software Foundation. All Rights Reserved.