Class AbstractReadInteger<E extends Asn1Container>
- java.lang.Object
-
- org.apache.directory.api.asn1.ber.grammar.GrammarAction<E>
-
- org.apache.directory.api.asn1.actions.AbstractReadInteger<E>
-
- Type Parameters:
E
- The container type
- All Implemented Interfaces:
Action<E>
- Direct Known Subclasses:
StoreAfterCount
,StoreBeforeCount
,StoreContentCount
,StoreContentCountResponse
,StoreError
,StoreFlags
,StoreGraceAuthNRemaining
,StoreOffset
,StoreSortResponseResultCode
,StoreTargetPosition
,StoreTimeBeforeExpiration
,StoreVirtualListViewResult
public abstract class AbstractReadInteger<E extends Asn1Container> extends GrammarAction<E>
The action used to read an integer value- Author:
- Apache Directory Project
-
-
Constructor Summary
Constructors Constructor Description AbstractReadInteger(String name)
Instantiates a new AbstractReadInteger action.AbstractReadInteger(String name, int minValue, int maxValue)
Creates a new instance of AbstractReadInteger.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
action(E container)
The action to be executed.-
Methods inherited from class org.apache.directory.api.asn1.ber.grammar.GrammarAction
toString
-
-
-
-
Constructor Detail
-
AbstractReadInteger
public AbstractReadInteger(String name)
Instantiates a new AbstractReadInteger action.- Parameters:
name
- the action's name
-
AbstractReadInteger
public AbstractReadInteger(String name, int minValue, int maxValue)
Creates a new instance of AbstractReadInteger.- Parameters:
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 read
-
-
Method Detail
-
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.
-
-