|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.objsys.asn1j.runtime.Asn1MessageBufferBase com.objsys.asn1j.runtime.Asn1MessageBuffer
public abstract class Asn1MessageBuffer
This is the base class for all of the different message buffer types. This includes the BER and PER encode and decode message buffer classes.
Field Summary |
---|
Fields inherited from class com.objsys.asn1j.runtime.Asn1MessageBufferBase |
---|
context, mTypeCode |
Constructor Summary | |
---|---|
Asn1MessageBuffer()
|
Method Summary | |
---|---|
void |
addNamedEventHandler(Asn1NamedEventHandler handler)
Deprecated. Use getContext().eventDispatcher.addNamedEventHandler |
int |
getEventHandlerListCount()
Deprecated. use getContext().eventDispatcher.getEventHandlerListCount() |
abstract java.io.InputStream |
getInputStream()
This abstract method must be implemented by all of the derived classes. |
boolean |
hasEventHandlers()
Deprecated. use getContext().eventDispatcher.hasEventHandlers() |
void |
invokeCharacters(java.lang.String svalue)
This method is used by the event handling logic to invoke the 'characters' event handling method when message contents are parsed. |
void |
invokeEndElement(java.lang.String name,
int index)
Deprecated. use getContext().eventDispatcher.endElement(name, index) |
void |
invokeStartElement(java.lang.String name,
int index)
Deprecated. use getContext().eventDispatcher.startElement(name, index) |
void |
setEventHandlerList(Asn1MessageBuffer buffer)
This method will set the event handler dispatcher in this object to be equal to that in the given decode buffer object (the buffers will share the dispatcher). |
Methods inherited from class com.objsys.asn1j.runtime.Asn1MessageBufferBase |
---|
getContext, hexDump, hexDump, setKey, setTypeCode |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Asn1MessageBuffer()
Method Detail |
---|
public abstract java.io.InputStream getInputStream()
public void addNamedEventHandler(Asn1NamedEventHandler handler)
handler
- Asn1NamedEventHandler object to be addedpublic int getEventHandlerListCount()
public final boolean hasEventHandlers()
public void invokeCharacters(java.lang.String svalue)
Asn1MessageBufferBase.setTypeCode(short)
svalue
- Stringified representation of a parsed value fieldpublic void invokeEndElement(java.lang.String name, int index)
name
- Name of the elementindex
- Index of element if SEQUENCE OF or SET OF elementpublic void invokeStartElement(java.lang.String name, int index)
name
- Name of the elementindex
- Index of element if SEQUENCE OF or SET OF elementpublic void setEventHandlerList(Asn1MessageBuffer buffer)
buffer
- Decode buffer object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |