public abstract class AbstractUnmarshaller extends AbstractObjectInput implements Unmarshaller
Unmarshaller
interface. Most of the
write methods delegate directly to the current data output.Modifier and Type | Field and Description |
---|---|
protected ClassExternalizerFactory |
classExternalizerFactory
The configured class externalizer factory.
|
protected ClassResolver |
classResolver
The configured class resolver.
|
protected ClassTable |
classTable
The configured class table.
|
protected int |
configuredVersion
The configured version.
|
protected ExceptionListener |
exceptionListener
The configured exception listener.
|
protected ObjectResolver |
objectPreResolver
The configured object pre resolver.
|
protected ObjectResolver |
objectResolver
The configured object resolver.
|
protected ObjectTable |
objectTable
The configured object table.
|
protected SerializabilityChecker |
serializabilityChecker
The configured serializability checker.
|
protected StreamHeader |
streamHeader
The configured stream header.
|
buffer, limit, position
byteInput
Modifier | Constructor and Description |
---|---|
protected |
AbstractUnmarshaller(AbstractMarshallerFactory marshallerFactory,
MarshallingConfiguration configuration)
Construct a new unmarshaller instance.
|
Modifier and Type | Method and Description |
---|---|
void |
finish()
Finish reading from the current input.
|
void |
start(ByteInput byteInput)
Start reading from the given input.
|
doReadObject, readObject, readObject, readObjectUnshared, readObjectUnshared
available, close, read, read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readIntDirect, readLine, readLong, readLongDirect, readShort, readUnsignedByte, readUnsignedByteDirect, readUnsignedShort, readUTF, skip, skipBytes
mark, markSupported, reset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clearClassCache, clearInstanceCache, readObject, readObjectUnshared, readObjectUnshared
available, close, read, read, read, readObject, skip
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes
protected final ClassExternalizerFactory classExternalizerFactory
protected final StreamHeader streamHeader
protected final ClassResolver classResolver
protected final ObjectResolver objectResolver
protected final ObjectResolver objectPreResolver
protected final ClassTable classTable
protected final ObjectTable objectTable
protected final ExceptionListener exceptionListener
protected final SerializabilityChecker serializabilityChecker
protected final int configuredVersion
protected AbstractUnmarshaller(AbstractMarshallerFactory marshallerFactory, MarshallingConfiguration configuration)
marshallerFactory
- the marshaller factoryconfiguration
- public void start(ByteInput byteInput) throws IOException
start
in interface Unmarshaller
start
in class SimpleDataInput
byteInput
- the new input from which to readIOException
- not thrown by this implementation, but may be overridden to be thrown if a problem occurspublic void finish() throws IOException
finish
in interface Unmarshaller
finish
in class SimpleDataInput
IOException
- not thrown by this implementation, but may be overridden to be thrown if a problem occursCopyright © 2018 JBoss by Red Hat. All rights reserved.