Top Fields Constructors Methods
com.sun.star.lib.uno.protocols.urp

pack-priv final Class Marshal

extends Object
Class Inheritance
Imports
java.io.ByteArrayOutputStream, .DataOutput, .DataOutputStream, .IOException, java.lang.reflect.Array, .InvocationTargetException, com.sun.star.lib.uno.environments.remote.ThreadId, com.sun.star.lib.uno.typedesc.FieldDescription, .TypeDescription, com.sun.star.uno.Any, .Enum, .IBridge, .Type, com.sun.star.uno.TypeClass, com.sun.star.uno.XInterface

Field Summary

Modifier and TypeField and Description
private final IBridge
bridge

References Deprecated IBridge is deprecated or references (maybe indirectly) at least one deprecated element.
private final ByteArrayOutputStream
private final Cache
private final DataOutput
private final Cache
private final Cache

Constructor Summary

AccessConstructor and Description
public
Marshal(IBridge bridge, short cacheSize)
References Deprecated IBridge is deprecated or references (maybe indirectly) at least one deprecated element.

Method Summary

Modifier and TypeMethod and Description
public byte[]
public void
write16Bit(int value)

private void
write32Bit(int value)

public void
write8Bit(int value)

private void
private void
private void
writeBytes(byte[] data)

private void
private void
private void
private void
private void
private void
private void
private void
public void
writeInterface(com.sun.star.uno.XInterface object, Type type)

private void
writeInterfaceValue(TypeDescription type, com.sun.star.uno.XInterface value)

private void
public void
private void
private void
private void
private void
public void
public void
private void
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bridgeback to summary
private final IBridge bridge

References Deprecated

IBridge is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

bufferback to summary
private final ByteArrayOutputStream buffer
objectIdCacheback to summary
private final Cache objectIdCache
outputback to summary
private final DataOutput output
threadIdCacheback to summary
private final Cache threadIdCache
typeCacheback to summary
private final Cache typeCache

Constructor Detail

Marshalback to summary
public Marshal(IBridge bridge, short cacheSize)

References Deprecated

IBridge is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

Method Detail

resetback to summary
public byte[] reset()
write16Bitback to summary
public void write16Bit(int value)
write32Bitback to summary
private void write32Bit(int value) throws IOException
write8Bitback to summary
public void write8Bit(int value)
writeAnyValueback to summary
private void writeAnyValue(Object value) throws ClassNotFoundException
writeBooleanValueback to summary
private void writeBooleanValue(Boolean value) throws IOException
writeBytesback to summary
private void writeBytes(byte[] data) throws IOException
writeByteValueback to summary
private void writeByteValue(Byte value)
writeCharValueback to summary
private void writeCharValue(Character value) throws IOException
writeCompressedNumberback to summary
private void writeCompressedNumber(int number) throws IOException
writeDoubleValueback to summary
private void writeDoubleValue(Double value) throws IOException
writeEnumValueback to summary
private void writeEnumValue(TypeDescription type, Enum value) throws IllegalAccessException, IOException, InvocationTargetException, NoSuchMethodException
writeExceptionValueback to summary
private void writeExceptionValue(TypeDescription type, Exception value) throws IllegalAccessException, IOException
writeFloatValueback to summary
private void writeFloatValue(Float value) throws IOException
writeHyperValueback to summary
private void writeHyperValue(Long value) throws IOException
writeInterfaceback to summary
public void writeInterface(com.sun.star.uno.XInterface object, Type type)
writeInterfaceValueback to summary
private void writeInterfaceValue(TypeDescription type, com.sun.star.uno.XInterface value)
writeLongValueback to summary
private void writeLongValue(Integer value) throws IOException
writeObjectIdback to summary
public void writeObjectId(String objectId)
writeSequenceValueback to summary
private void writeSequenceValue(TypeDescription type, Object value) throws IOException
writeShortValueback to summary
private void writeShortValue(Short value)
writeStringValueback to summary
private void writeStringValue(String value) throws IOException
writeStructValueback to summary
private void writeStructValue(TypeDescription type, Object value) throws IllegalAccessException
writeThreadIdback to summary
public void writeThreadId(ThreadId threadId)
writeTypeback to summary
public void writeType(TypeDescription type)
writeTypeValueback to summary
private void writeTypeValue(Type value) throws ClassNotFoundException
writeValueback to summary
public void writeValue(TypeDescription type, Object value)