|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.asn1.ber.digester.AbstractRule
A rule base class.
| Field Summary | |
private BERDigester |
digester
|
| Constructor Summary | |
AbstractRule()
|
|
| 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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private BERDigester digester
| Constructor Detail |
public AbstractRule()
| Method Detail |
public BERDigester getDigester()
RuleBERDigester with which this Rule has
been associated.
getDigester in interface Rulepublic void setDigester(BERDigester digester)
RuleBERDigester with which this Rule will
be associated.
setDigester in interface Ruledigester - the rulesBase to associate this rule with
public void tag(int id,
boolean isPrimitive,
TypeClass typeClass)
Rule
tag in interface Ruleid - the tag's idisPrimitive - whether tlv is primitive or constructedtypeClass - the tag's type classpublic void length(int length)
Rule
length in interface Rulelength - the length in bytes of the valuepublic void value(java.nio.ByteBuffer buf)
Rule
value in interface Rulebuf - a portion of the valuepublic void finish()
Rule
finish in interface Rule
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||