|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A BER event processing rule.
Method Summary | |
void |
finish()
Called when the tlv has been completely consumed. |
BERDigester |
getDigester()
Get the BERDigester with which this Rule has
been associated. |
void |
length(int length)
Called when the length of a TLV is encountered. |
void |
setDigester(BERDigester digester)
Set the BERDigester with which this Rule will
be associated. |
void |
tag(int id,
boolean isPrimitive,
TypeClass typeClass)
Called when the tag of the matched TLV is encountered. |
void |
value(java.nio.ByteBuffer buf)
Called when a peice of the value is available. |
Method Detail |
public BERDigester getDigester()
BERDigester
with which this Rule
has
been associated.
public void setDigester(BERDigester digester)
BERDigester
with which this Rule
will
be associated.
digester
- the rulesBase to associate this rule withpublic void tag(int id, boolean isPrimitive, TypeClass typeClass)
id
- the tag's idisPrimitive
- whether tlv is primitive or constructedtypeClass
- the tag's type classpublic void length(int length)
length
- the length in bytes of the valuepublic void value(java.nio.ByteBuffer buf)
buf
- a portion of the valuepublic void finish()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |