|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.objsys.asn1j.runtime.Asn1BerMessageDumpHandler
This class implements the Asn1EventHandler interface to provide a formatted dump of a BER message to the given print output stream. An object of this type is used in conjunction with the Asn1BerDecodeBuffer parse method to generically parse a BER message.
| Constructor Summary | |
Asn1BerMessageDumpHandler(java.io.PrintStream out)
The constructor sets the PrintStream object to which the formatted output should be written. |
|
| Method Summary | |
void |
contents(byte[] data)
This method is invoked after each contents field is parsed. |
void |
endElement(Asn1Tag tag)
This method is invoked after parsing is complete on each tag/length/value (TLV) in the message. |
void |
startElement(Asn1Tag tag,
int len,
byte[] tagLenBytes)
This method is invoked after each tag/length value is parsed in the message being dumped. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Asn1BerMessageDumpHandler(java.io.PrintStream out)
out - Output stream for formatted data| Method Detail |
public void startElement(Asn1Tag tag,
int len,
byte[] tagLenBytes)
startElement in interface Asn1TaggedEventHandlertag - Parsed tag valuelen - Parsed length valuetagLenBytes - Array containing the encoded tag/length bytespublic void contents(byte[] data)
contents in interface Asn1TaggedEventHandlerdata - Array containing the encoded contents bytespublic void endElement(Asn1Tag tag)
endElement in interface Asn1TaggedEventHandlertag - Array containing the encoded contents bytes
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||