public abstract class AbstractDecodingContext extends java.lang.Object implements IDecodingContext
| Modifier and Type | Field and Description | 
|---|---|
| protected java.lang.ClassLoader | classloaderThe classloader | 
| protected java.lang.String | currentclassnameThe current class name. | 
| protected java.util.List<IDecoderHandler> | decoderhandlersThe decoder handlers. | 
| protected IErrorReporter | errorreporterError Reporter | 
| protected java.util.Map<java.lang.Integer,java.lang.Object> | knownobjectsAlready known objects | 
| protected java.lang.Object | lastobjectThe last decoded object | 
| protected java.util.List<IDecoderHandler> | postprocessorsThe postprocessors. | 
| protected java.lang.Object | usercontextA user context. | 
| Constructor and Description | 
|---|
| AbstractDecodingContext(java.util.List<IDecoderHandler> decoderhandlers,
                       java.util.List<IDecoderHandler> postprocessors,
                       java.lang.Object usercontext,
                       java.lang.ClassLoader classloader,
                       IErrorReporter errorreporter)Initializes the context. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.ClassLoader | getClassloader()Gets the classloader. | 
| java.lang.String | getCurrentClassName()Gets the current class name. | 
| java.util.List<IDecoderHandler> | getDecoderHandlers()Returns the handlers used to decode objects. | 
| IErrorReporter | getErrorReporter()Gets the error reporter. | 
| java.util.Map<java.lang.Integer,java.lang.Object> | getKnownObjects()Returns the known objects. | 
| java.lang.Object | getLastObject()Returns the last object decoded. | 
| java.util.List<IDecoderHandler> | getPostProcessors()Returns the handlers used for post-processing. | 
| java.lang.Object | getUserContext()Returns the user context. | 
| protected void | setCurrentClassName(java.lang.String currentclassname)Sets the current class name. | 
| void | setLastObject(java.lang.Object lastobject)Sets the last object decoded. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCurrentOffset, read, readBoolean, readByte, readClassname, readSignedVarInt, readString, readVarIntprotected java.lang.ClassLoader classloader
protected java.util.List<IDecoderHandler> decoderhandlers
protected java.lang.Object usercontext
protected java.util.List<IDecoderHandler> postprocessors
protected java.lang.Object lastobject
protected java.lang.String currentclassname
protected IErrorReporter errorreporter
protected java.util.Map<java.lang.Integer,java.lang.Object> knownobjects
public AbstractDecodingContext(java.util.List<IDecoderHandler> decoderhandlers, java.util.List<IDecoderHandler> postprocessors, java.lang.Object usercontext, java.lang.ClassLoader classloader, IErrorReporter errorreporter)
public java.lang.ClassLoader getClassloader()
getClassloader in interface IDecodingContextpublic java.util.List<IDecoderHandler> getDecoderHandlers()
getDecoderHandlers in interface IDecodingContextpublic java.util.List<IDecoderHandler> getPostProcessors()
getPostProcessors in interface IDecodingContextpublic java.util.Map<java.lang.Integer,java.lang.Object> getKnownObjects()
getKnownObjects in interface IDecodingContextpublic java.lang.Object getUserContext()
public IErrorReporter getErrorReporter()
getErrorReporter in interface IDecodingContextpublic java.lang.Object getLastObject()
getLastObject in interface IDecodingContextpublic void setLastObject(java.lang.Object lastobject)
setLastObject in interface IDecodingContextlastobject - The last object decoded.public java.lang.String getCurrentClassName()
getCurrentClassName in interface IDecodingContextprotected void setCurrentClassName(java.lang.String currentclassname)