C - The container typepublic abstract class AbstractReadBitString<C extends Asn1Container> extends GrammarAction<C>
| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
LOG
The logger
|
name| Constructor and Description |
|---|
AbstractReadBitString(String name)
Instantiates a new AbstractReadByteArray action.
|
| Modifier and Type | Method and Description |
|---|---|
void |
action(C container)
The action to be executed.
|
protected abstract void |
setBitString(byte[] data,
C container)
Gives a byte array to be set to the appropriate field of the ASN.1 object
present in the container
|
toStringpublic AbstractReadBitString(String name)
name - the action's nameprotected abstract void setBitString(byte[] data,
C container)
data - the data of the read TLV present in byte array formatcontainer - the container holding the ASN.1 objectpublic final void action(C container) throws org.apache.directory.api.asn1.DecoderException
container - The container which stores the current dataorg.apache.directory.api.asn1.DecoderException - Thrown if something went wrong.Copyright © 2003–2022 The Apache Software Foundation. All rights reserved.