|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The classes implementing this interface process the XBE32 parsing events
generated by the TLVParser
class.
TLVParser.setListener()
,
TLVParser.parse()
,
TLVParser.parseTLV()
,
TLV
Method Summary | |
void |
complexTLVEnd(int type,
int length)
This method is called when a Complex TLV has just been processed by the TLVParser . |
void |
complexTLVStart(int type,
int length)
This method is called when a Complex TLV is found by the TLVParser . |
void |
endParsing(int length)
This method is called when the TLVParser successfully ends
parsing the full XBE32-encoded stream. |
void |
simpleTLV(int type,
int length,
Object vals)
This method is called when a Simple TLV is processed by the TLVParser . |
void |
startParsing()
This method is called when the TLVParser.parse() method is
called and the parsing process starts. |
Method Detail |
public void startParsing()
TLVParser.parse()
method is
called and the parsing process starts.
TLVParser.parse()
public void complexTLVStart(int type, int length) throws TLVParseException
TLVParser
.
type
- the Type field of the Complex TLV to be parsedlength
- the Length field of the Complex TLV to be parsed
TLVParseException
- the listener may throw this exception if any
syntax error occurs while processing this eventTLVParser.parse()
,
TLVParser.parseTLV()
public void complexTLVEnd(int type, int length) throws TLVParseException
TLVParser
.
type
- the Type field of the Complex TLV that has been parsedlength
- the Length field of the Complex TLV thas has been parsed
TLVParseException
- the listener may throw this exception if any
syntax error occurs while processing this eventTLVParser.parse()
,
TLVParser.parseTLV()
public void simpleTLV(int type, int length, Object vals) throws TLVParseException
TLVParser
.
type
- the Type field of the Simple TLV being parsedlength
- the Length field of the Simple TLV being parsedvals
- the Values field of the Simple TLV being parsed
TLVParseException
- the listener may throw this exception if any
syntax error occurs while processing this eventTLVParser.parse()
,
TLVParser.parseTLV()
public void endParsing(int length) throws TLVParseException
TLVParser
successfully ends
parsing the full XBE32-encoded stream.
TLVParseException
- the listener may throw this exception if any
syntax error occurs while processing this eventTLVParser.parse()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |