|
||||||||||
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 | |
---|---|
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 |
---|
int getState()
void setState(int state)
state
- The new statevoid setCurrentTLV(TLV tlv)
tlv
- The current TLVTLV getCurrentTLV()
IGrammar getGrammar()
void addGrammar(IGrammar grammar)
grammar
- The grammar to add.void switchGrammar(int currentState, int grammar)
grammar
- The grammar to switch to.int restoreGrammar()
int getCurrentGrammar()
void setInitGrammar(int grammar)
The
- first grammar .int getTransition()
void setTransition(int transition)
transition
- The transition to setint getCurrentGrammarType()
IStates getStates()
TLV getParentTLV()
void setParentTLV(TLV parentTLV)
The
- new parent TLV
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |