E
- The container typepublic abstract class AbstractReadInteger<E extends Asn1Container> extends GrammarAction<E>
Constructor and Description |
---|
AbstractReadInteger(String name)
Instantiates a new AbstractReadInteger action.
|
AbstractReadInteger(String name,
int minValue,
int maxValue)
Creates a new instance of AbstractReadInteger.
|
Modifier and Type | Method and Description |
---|---|
void |
action(E container)
The action to be executed.
|
toString
public AbstractReadInteger(String name)
name
- the action's namepublic AbstractReadInteger(String name, int minValue, int maxValue)
name
- the action's nameminValue
- the acceptable minimum value for the expected value to be readmaxValue
- the acceptable maximum value for the value to be readpublic final void action(E container) throws DecoderException
container
- The container which stores the current dataDecoderException
- Thrown if something went wrong.Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.