|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Every ASN1 container must implement this interface.
Method Summary | |
TLV |
getCurrentTLV()
Get the currentTLV |
IGrammar |
getGrammar()
Get the grammar |
TLV |
getParentTLV()
|
int |
getState()
Get the current grammar state |
IStates |
getStates()
|
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 |
public int getState()
public void setState(int state)
state
- The new statepublic void setCurrentTLV(TLV tlv)
tlv
- The current TLVpublic TLV getCurrentTLV()
public IGrammar getGrammar()
public int getTransition()
public void setTransition(int transition)
transition
- The transition to setpublic IStates getStates()
public TLV getParentTLV()
public void setParentTLV(TLV parentTLV)
public boolean isGrammarEndAllowed()
public void grammarEndAllowed(boolean grammarEndAllowed)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |