|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Rule
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 |
|---|
BERDigester getDigester()
BERDigester with which this Rule has
been associated.
void setDigester(BERDigester digester)
BERDigester with which this Rule will
be associated.
digester - the rulesBase to associate this rule with
void tag(int id,
boolean isPrimitive,
TypeClass typeClass)
id - the tag's idisPrimitive - whether tlv is primitive or constructedtypeClass - the tag's type classvoid length(int length)
length - the length in bytes of the valuevoid value(java.nio.ByteBuffer buf)
buf - a portion of the valuevoid finish()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||