|
|||||||||||
| 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 | |
void |
addGrammar(IGrammar grammar)
Add a new IGrammar to use |
int |
getCurrentGrammar()
|
int |
getCurrentGrammarType()
|
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 |
int |
restoreGrammar()
restore the previous grammar (the one before a switch has occured) |
void |
setCurrentTLV(TLV tlv)
Set the current TLV |
void |
setInitGrammar(int grammar)
Set the first grammar to use |
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 |
void |
switchGrammar(int currentState,
int grammar)
Switch to another grammar |
| 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 void addGrammar(IGrammar grammar)
grammar - The grammar to add.
public void switchGrammar(int currentState,
int grammar)
grammar - The grammar to switch to.public int restoreGrammar()
public int getCurrentGrammar()
public void setInitGrammar(int grammar)
public int getTransition()
public void setTransition(int transition)
transition - The transition to setpublic int getCurrentGrammarType()
public IStates getStates()
public TLV getParentTLV()
public void setParentTLV(TLV parentTLV)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||