| Modifier and Type | Field and Description |
|---|---|
| private static final IdentityIntMap | |
| private static final IdentityIntMap | |
| private static final IdentityIntMap | |
| private BlockMarshaller | |
| private final IdentityIntMap | |
| private int | |
| private final PrivilegedExceptionAction | |
| private static final Field | |
| private static final Field | |
| private static final Field | |
| private final IdentityHashMap | |
| private final IdentityIntMap | |
| private int | |
| private ObjectOutput | |
| private RiverObjectOutputStream | |
| private final SerializableClassRegistry | |
| private final IdentityIntMap |
| Access | Constructor and Description |
|---|---|
| protected | RiverMarshaller(final RiverMarshallerFactory marshallerFactory, final SerializableClassRegistry registry, final MarshallingConfiguration configuration)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | clearClassCache()
Implements org. |
| public void | clearInstanceCache()
Implements org. |
| private RiverObjectOutputStream | |
| protected void | |
| protected void | |
| protected void | doWriteObject(final Object
the object to write original, final boolean true if the instance is unshared, false if it is sharedImplements abstract org. |
| private void | |
| protected void | |
| private static IdentityIntMap | |
| protected BlockMarshaller | |
| private static Class | |
| private static Enum | |
| private static Class | |
| protected ObjectOutput | |
| private RiverObjectOutputStream | |
| public void | start(final ByteOutput
the new stream byteOutput)Overrides org. Implements org. |
| private void | |
| private void | |
| protected void | |
| protected void | |
| private void | |
| private void | |
| protected void | |
| private void | |
| protected void | |
| protected void | |
| protected boolean | |
| private void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| private void | |
| public void | writeUTF(final String
the string value to be written. string)Overrides org. Implements java. s.
|
| BASIC_CLASSES_V2 | back to summary |
|---|---|
| private static final IdentityIntMap<Class<?>> BASIC_CLASSES_V2 | |
| BASIC_CLASSES_V3 | back to summary |
|---|---|
| private static final IdentityIntMap<Class<?>> BASIC_CLASSES_V3 | |
| BASIC_CLASSES_V4 | back to summary |
|---|---|
| private static final IdentityIntMap<Class<?>> BASIC_CLASSES_V4 | |
| blockMarshaller | back to summary |
|---|---|
| private BlockMarshaller blockMarshaller | |
| classCache | back to summary |
|---|---|
| private final IdentityIntMap<Class<?>> classCache | |
| classSeq | back to summary |
|---|---|
| private int classSeq | |
| createObjectOutputStreamAction | back to summary |
|---|---|
| private final PrivilegedExceptionAction<RiverObjectOutputStream> createObjectOutputStreamAction | |
| ENUM_MAP_KEY_TYPE_FIELD | back to summary |
|---|---|
| private static final Field ENUM_MAP_KEY_TYPE_FIELD | |
| ENUM_SET_ELEMENT_TYPE_FIELD | back to summary |
|---|---|
| private static final Field ENUM_SET_ELEMENT_TYPE_FIELD | |
| ENUM_SET_VALUES_FIELD | back to summary |
|---|---|
| private static final Field ENUM_SET_VALUES_FIELD | |
| externalizers | back to summary |
|---|---|
| private final IdentityHashMap<Class<?>, Externalizer> externalizers | |
| instanceCache | back to summary |
|---|---|
| private final IdentityIntMap<Object> instanceCache | |
| instanceSeq | back to summary |
|---|---|
| private int instanceSeq | |
| objectOutput | back to summary |
|---|---|
| private ObjectOutput objectOutput | |
| objectOutputStream | back to summary |
|---|---|
| private RiverObjectOutputStream objectOutputStream | |
| registry | back to summary |
|---|---|
| private final SerializableClassRegistry registry | |
| serialClassCache | back to summary |
|---|---|
| private final IdentityIntMap<Class<?>> serialClassCache | |
| RiverMarshaller | back to summary |
|---|---|
| protected RiverMarshaller(final RiverMarshallerFactory marshallerFactory, final SerializableClassRegistry registry, final MarshallingConfiguration configuration) throws IOException | |
| clearClassCache | back to summary |
|---|---|
| public void clearClassCache() throws IOException Implements org. Doc from org. Discard the class cache. Implicitly also discards the instance cache.
| |
| clearInstanceCache | back to summary |
|---|---|
| public void clearInstanceCache() throws IOException Implements org. Doc from org. Discard the instance cache. May also discard the class cache in implementations that do not support separated class and instance caches.
| |
| createObjectOutputStream | back to summary |
|---|---|
| private RiverObjectOutputStream createObjectOutputStream() throws IOException | |
| doWriteEmptyFields | back to summary |
|---|---|
| protected void doWriteEmptyFields(final SerializableClass info) throws IOException | |
| doWriteFields | back to summary |
|---|---|
| protected void doWriteFields(final SerializableClass info, final Object obj) throws IOException | |
| doWriteObject | back to summary |
|---|---|
| protected void doWriteObject(final Object original, final boolean unshared) throws IOException Implements abstract org. Doc from org. Implementation of the actual object-writing method.
| |
| doWriteRecord | back to summary |
|---|---|
| private void doWriteRecord(Object object, SerializableClass info) throws IOException | |
| doWriteSerializableObject | back to summary |
|---|---|
| protected void doWriteSerializableObject(final SerializableClass info, final Object obj, final Class<?> objClass) throws IOException | |
| getBasicClasses | back to summary |
|---|---|
| private static IdentityIntMap | |
| getBlockMarshaller | back to summary |
|---|---|
| protected BlockMarshaller getBlockMarshaller() | |
| getEnumMapKeyType | back to summary |
|---|---|
| private static Class | |
| getEnumSetElements | back to summary |
|---|---|
| private static Enum | |
| getEnumSetElementType | back to summary |
|---|---|
| private static Class | |
| getObjectOutput | back to summary |
|---|---|
| protected ObjectOutput getObjectOutput() | |
| getObjectOutputStream | back to summary |
|---|---|
| private RiverObjectOutputStream getObjectOutputStream() throws IOException | |
| start | back to summary |
|---|---|
| public void start(final ByteOutput byteOutput) throws IOException Overrides org. Implements org. Doc from org. Begin marshalling to a stream.
| |
| writeArrayObject | back to summary |
|---|---|
| private void writeArrayObject(boolean unshared, Object obj, Class<?> objClass) throws IOException | |
| writeBooleanArray | back to summary |
|---|---|
| private void writeBooleanArray(final boolean[] booleans) throws IOException | |
| writeClass | back to summary |
|---|---|
| protected void writeClass(final Class<?> objClass) throws IOException | |
| writeClassClass | back to summary |
|---|---|
| protected void writeClassClass(final Class<?> classObj) throws IOException | |
| writeClassTableData | back to summary |
|---|---|
| private void writeClassTableData(final Class<?> objClass, final ClassTable. | |
| writeEndBlock | back to summary |
|---|---|
| private void writeEndBlock() throws IOException | |
| writeEnumClass | back to summary |
|---|---|
| protected void writeEnumClass(final Class<? extends Enum<E extends Enum<E>>> objClass) throws IOException | |
| writeExternalizable | back to summary |
|---|---|
| private void writeExternalizable(boolean unshared, Object obj, Class<?> objClass) throws IOException | |
| writeExternalizableClass | back to summary |
|---|---|
| protected void writeExternalizableClass(final Class<?> objClass) throws IOException | |
| writeExternalizerClass | back to summary |
|---|---|
| protected void writeExternalizerClass(final Class<?> objClass, final Externalizer externalizer) throws IOException | |
| writeKnownClass | back to summary |
|---|---|
| protected boolean writeKnownClass(final Class<?> objClass, final boolean isSuper) throws IOException | |
| writeKnownObject | back to summary |
|---|---|
| private void writeKnownObject(boolean unshared, Object obj, Class<?> objClass, int id) throws IOException | |
| writeNewClass | back to summary |
|---|---|
| protected void writeNewClass(final Class<?> objClass) throws IOException | |
| writeNewEnumClass | back to summary |
|---|---|
| protected void writeNewEnumClass(final Class<? extends Enum<E extends Enum<E>>> objClass) throws IOException | |
| writeNewExternalizableClass | back to summary |
|---|---|
| protected void writeNewExternalizableClass(final Class<?> objClass) throws IOException | |
| writeNewExternalizerClass | back to summary |
|---|---|
| protected void writeNewExternalizerClass(final Class<?> objClass, final Externalizer externalizer) throws IOException | |
| writeNewProxyClass | back to summary |
|---|---|
| protected void writeNewProxyClass(final Class<?> objClass) throws IOException | |
| writeNewSerializableClass | back to summary |
|---|---|
| protected void writeNewSerializableClass(final Class<?> objClass) throws IOException | |
| writeNewSerialSuperClass | back to summary |
|---|---|
| protected void writeNewSerialSuperClass(final Class<?> objClass) throws IOException | |
| writeObjectArrayClass | back to summary |
|---|---|
| protected void writeObjectArrayClass(final Class<?> objClass) throws IOException | |
| writeProxyClass | back to summary |
|---|---|
| protected void writeProxyClass(final Class<?> objClass) throws IOException | |
| writeSerializableClass | back to summary |
|---|---|
| protected void writeSerializableClass(final Class<?> objClass, final boolean isSuper) throws IOException | |
| writeSerialSuperClass | back to summary |
|---|---|
| protected void writeSerialSuperClass(final Class<?> objClass) throws IOException | |
| writeString | back to summary |
|---|---|
| private void writeString(String string) throws IOException | |
| writeUTF | back to summary |
|---|---|
| public void writeUTF(final String string) throws IOException Overrides org. Implements java. Doc from java. Writes two bytes of length information
to the output stream, followed
by the
modified UTF-8
representation
of every character in the string
If a character (byte)c
If a character If a character
First,
the total number of bytes needed to represent
all the characters of The
bytes written by this method may be read
by the
| |