Package org.jboss.marshalling.river
Class RiverUnmarshaller
java.lang.Object
java.io.InputStream
org.jboss.marshalling.SimpleByteInput
org.jboss.marshalling.ByteInputStream
org.jboss.marshalling.SimpleDataInput
org.jboss.marshalling.AbstractObjectInput
org.jboss.marshalling.AbstractUnmarshaller
org.jboss.marshalling.river.RiverUnmarshaller
- All Implemented Interfaces:
Closeable,DataInput,ObjectInput,AutoCloseable,org.jboss.marshalling.ByteInput,org.jboss.marshalling.Unmarshaller
public class RiverUnmarshaller
extends org.jboss.marshalling.AbstractUnmarshaller
-
Field Summary
Fields inherited from class org.jboss.marshalling.AbstractUnmarshaller
classExternalizerFactory, classResolver, classTable, configuredVersion, exceptionListener, objectPreResolver, objectResolver, objectTable, serializabilityChecker, streamHeader, unmarshallingFilterFields inherited from class org.jboss.marshalling.SimpleDataInput
buffer, limit, position, totalBytesReadFields inherited from class org.jboss.marshalling.ByteInputStream
byteInput -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRiverUnmarshaller(RiverMarshallerFactory marshallerFactory, org.jboss.marshalling.reflect.SerializableClassRegistry registry, org.jboss.marshalling.MarshallingConfiguration configuration) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidclose()protected voiddiscardFields(org.jboss.marshalling.river.SerializableClassDescriptor descriptor) protected ObjectdoReadNewObject(int streamClassType, boolean unshared, boolean discardMissing) protected ObjectdoReadObject(boolean unshared) voidfinish()protected voidreadFields(Object obj, org.jboss.marshalling.river.SerializableClassDescriptor descriptor, boolean discardMissing) protected StringreadUTF()voidstart(org.jboss.marshalling.ByteInput byteInput) Methods inherited from class org.jboss.marshalling.AbstractUnmarshaller
filterCheck, setObjectInputStreamFilterMethods inherited from class org.jboss.marshalling.AbstractObjectInput
readObject, readObject, readObjectUnshared, readObjectUnsharedMethods inherited from class org.jboss.marshalling.SimpleDataInput
available, read, read, read, readBoolean, readByte, readDouble, readFloat, readFully, readFully, readChar, readInt, readIntDirect, readLine, readLong, readLongDirect, readShort, readUnsignedByte, readUnsignedByteDirect, readUnsignedShort, skip, skipBytesMethods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, skipNBytes, transferToMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.marshalling.ByteInput
available, read, read, read, skipMethods inherited from interface java.io.DataInput
readBoolean, readByte, readDouble, readFloat, readFully, readFully, readChar, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, skipBytesMethods inherited from interface java.io.ObjectInput
available, read, read, read, readObject, skipMethods inherited from interface org.jboss.marshalling.Unmarshaller
readObject, readObjectUnshared, readObjectUnshared
-
Constructor Details
-
RiverUnmarshaller
protected RiverUnmarshaller(RiverMarshallerFactory marshallerFactory, org.jboss.marshalling.reflect.SerializableClassRegistry registry, org.jboss.marshalling.MarshallingConfiguration configuration)
-
-
Method Details
-
clearInstanceCache
- Throws:
IOException
-
clearClassCache
- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceObjectInput- Overrides:
closein classorg.jboss.marshalling.SimpleDataInput- Throws:
IOException
-
finish
- Specified by:
finishin interfaceorg.jboss.marshalling.Unmarshaller- Overrides:
finishin classorg.jboss.marshalling.AbstractUnmarshaller- Throws:
IOException
-
doReadObject
- Specified by:
doReadObjectin classorg.jboss.marshalling.AbstractObjectInput- Throws:
ClassNotFoundExceptionIOException
-
readString
- Throws:
IOException
-
start
- Specified by:
startin interfaceorg.jboss.marshalling.Unmarshaller- Overrides:
startin classorg.jboss.marshalling.AbstractUnmarshaller- Throws:
IOException
-
doReadNewObject
protected Object doReadNewObject(int streamClassType, boolean unshared, boolean discardMissing) throws ClassNotFoundException, IOException - Throws:
ClassNotFoundExceptionIOException
-
readFields
protected void readFields(Object obj, org.jboss.marshalling.river.SerializableClassDescriptor descriptor, boolean discardMissing) throws IOException, ClassNotFoundException - Throws:
IOExceptionClassNotFoundException
-
discardFields
protected void discardFields(org.jboss.marshalling.river.SerializableClassDescriptor descriptor) throws IOException - Throws:
IOException
-
readUTF
- Specified by:
readUTFin interfaceDataInput- Overrides:
readUTFin classorg.jboss.marshalling.SimpleDataInput- Throws:
IOException
-