|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IAsn1Container
Every ASN1 container must implement this interface.
Method Summary | |
---|---|
TLV |
getCurrentTLV()
Get the currentTLV |
IGrammar |
getGrammar()
Get the grammar |
int |
getNewTlvId()
Get a new TLV id |
TLV |
getParentTLV()
|
int |
getState()
Get the current grammar state |
IStates |
getStates()
|
int |
getTlvId()
Get the current TLV id |
int |
getTransition()
Get the transition |
void |
grammarEndAllowed(boolean grammarEndAllowed)
Set the flag to allow a end transition |
boolean |
isGrammarEndAllowed()
Check that we can have a end state after this transition |
void |
setCurrentTLV(TLV tlv)
Set the current TLV |
void |
setParentTLV(TLV parentTLV)
Set the parent TLV |
void |
setState(int state)
Set the new current state |
void |
setTransition(int transition)
Update the transition from a state to another |
Method Detail |
---|
int getState()
void setState(int state)
state
- The new statevoid setCurrentTLV(TLV tlv)
tlv
- The current TLVTLV getCurrentTLV()
IGrammar getGrammar()
int getTransition()
void setTransition(int transition)
transition
- The transition to setIStates getStates()
TLV getParentTLV()
void setParentTLV(TLV parentTLV)
The
- new parent TLVboolean isGrammarEndAllowed()
void grammarEndAllowed(boolean grammarEndAllowed)
endAllowed
- true or false, depending on the next transition
being an end or not.int getNewTlvId()
int getTlvId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |