public abstract class AbstractDecodingContext extends Object implements IDecodingContext
| Constructor and Description |
|---|
AbstractDecodingContext(List<IDecoderHandler> decoderhandlers,
List<IDecoderHandler> postprocessors,
Object usercontext,
ClassLoader classloader,
IErrorReporter errorreporter)
Initializes the context.
|
| Modifier and Type | Method and Description |
|---|---|
ClassLoader |
getClassloader()
Gets the classloader.
|
String |
getCurrentClassName()
Gets the current class name.
|
List<IDecoderHandler> |
getDecoderHandlers()
Returns the handlers used to decode objects.
|
IErrorReporter |
getErrorReporter()
Gets the error reporter.
|
Map<Integer,Object> |
getKnownObjects()
Returns the known objects.
|
Object |
getLastObject()
Returns the last object decoded.
|
List<IDecoderHandler> |
getPostProcessors()
Returns the handlers used for post-processing.
|
Object |
getUserContext()
Returns the user context.
|
void |
setLastObject(Object lastobject)
Sets the last object decoded.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitread, readBoolean, readByte, readClassname, readSignedVarInt, readString, readVarIntpublic AbstractDecodingContext(List<IDecoderHandler> decoderhandlers, List<IDecoderHandler> postprocessors, Object usercontext, ClassLoader classloader, IErrorReporter errorreporter)
public ClassLoader getClassloader()
getClassloader in interface IDecodingContextpublic List<IDecoderHandler> getDecoderHandlers()
getDecoderHandlers in interface IDecodingContextpublic List<IDecoderHandler> getPostProcessors()
getPostProcessors in interface IDecodingContextpublic Map<Integer,Object> getKnownObjects()
getKnownObjects in interface IDecodingContextpublic Object getUserContext()
public IErrorReporter getErrorReporter()
getErrorReporter in interface IDecodingContextpublic Object getLastObject()
getLastObject in interface IDecodingContextpublic void setLastObject(Object lastobject)
setLastObject in interface IDecodingContextlastobject - The last object decoded.public String getCurrentClassName()
getCurrentClassName in interface IDecodingContextCopyright © 2015. All Rights Reserved.