Marshalling API version 1.0.0.GA
A B C D E F G H I J L M N O P R S U V W

A

AbstractClassResolver - Class in org.jboss.marshalling
A base implementation of ClassResolver which simply resolves the class against a classloader which is specified by the subclass implementation.
AbstractClassResolver() - Constructor for class org.jboss.marshalling.AbstractClassResolver
Construct a new instance.
AbstractExternalizer - Class in org.jboss.marshalling
An externalizer base class which handles object creation in a default fashion.
AbstractExternalizer() - Constructor for class org.jboss.marshalling.AbstractExternalizer
 
AbstractMarshaller - Class in org.jboss.marshalling
An abstract implementation of the Marshaller interface.
AbstractMarshaller(AbstractMarshallerFactory, MarshallingConfiguration) - Constructor for class org.jboss.marshalling.AbstractMarshaller
Construct a new marshaller instance.
AbstractMarshallerFactory - Class in org.jboss.marshalling
An abstract implementation of the MarshallerFactory interface.
AbstractMarshallerFactory() - Constructor for class org.jboss.marshalling.AbstractMarshallerFactory
Construct a new marshaller factory instance.
AbstractUnmarshaller - Class in org.jboss.marshalling
An abstract implementation of the Unmarshaller interface.
AbstractUnmarshaller(AbstractMarshallerFactory, MarshallingConfiguration) - Constructor for class org.jboss.marshalling.AbstractUnmarshaller
Construct a new unmarshaller instance.
annotateClass(Marshaller, Class<?>) - Method in class org.jboss.marshalling.AbstractClassResolver
Add optional information about a class to a stream.
annotateClass(Marshaller, Class<?>) - Method in interface org.jboss.marshalling.ClassResolver
Add optional information about a class to a stream.
annotateClass(Class<?>) - Method in class org.jboss.marshalling.MarshallerObjectOutputStream
Subclasses may implement this method to allow class data to be stored in the stream.
annotateProxyClass(Marshaller, Class<?>) - Method in class org.jboss.marshalling.AbstractClassResolver
Add optional information about a proxy class to a stream.
annotateProxyClass(Marshaller, Class<?>) - Method in interface org.jboss.marshalling.ClassResolver
Add optional information about a proxy class to a stream.
annotateProxyClass(Class<?>) - Method in class org.jboss.marshalling.MarshallerObjectOutputStream
Subclasses may implement this method to store custom data in the stream along with descriptors for dynamic proxy classes.
available() - Method in class org.jboss.marshalling.AbstractUnmarshaller
Returns the number of bytes that can be read without blocking.
available() - Method in interface org.jboss.marshalling.ByteInput
Returns an estimate of the number of bytes that can be read (or skipped over) from this input stream without blocking by the next invocation of a method for this input stream.
available() - Method in class org.jboss.marshalling.MarshallerObjectInputStream
Returns the number of bytes that can be read without blocking.

B

byteInput - Variable in class org.jboss.marshalling.AbstractUnmarshaller
The current byte input.
ByteInput - Interface in org.jboss.marshalling
An input stream of bytes.
byteOutput - Variable in class org.jboss.marshalling.AbstractMarshaller
The current byte output.
ByteOutput - Interface in org.jboss.marshalling
An output stream of bytes.

C

callReadObject(Object, ObjectInputStream) - Method in class org.jboss.marshalling.reflect.SerializableClass
Invoke the readObject() method for an object.
callReadObjectNoData(Object) - Method in class org.jboss.marshalling.reflect.SerializableClass
Invoke the readObjectNoData() method for an object.
callReadResolve(Object) - Method in class org.jboss.marshalling.reflect.SerializableClass
Invoke the readResolve() method for an object.
callWriteObject(Object, ObjectOutputStream) - Method in class org.jboss.marshalling.reflect.SerializableClass
Invoke the writeObject() method for an object.
callWriteReplace(Object) - Method in class org.jboss.marshalling.reflect.SerializableClass
Invoke the writeReplace() method for an object.
classResolver - Variable in class org.jboss.marshalling.AbstractMarshaller
The configured class resolver.
classResolver - Variable in class org.jboss.marshalling.AbstractUnmarshaller
The configured class resolver.
ClassResolver - Interface in org.jboss.marshalling
A class annotater and resolver.
classTable - Variable in class org.jboss.marshalling.AbstractMarshaller
The configured class table.
classTable - Variable in class org.jboss.marshalling.AbstractUnmarshaller
The configured class table.
ClassTable - Interface in org.jboss.marshalling
A lookup mechanism for predefined classes.
ClassTable.Writer - Interface in org.jboss.marshalling
The class writer for a specific class.
clearClassCache() - Method in interface org.jboss.marshalling.Marshaller
Discard the class cache.
clearClassCache() - Method in interface org.jboss.marshalling.Unmarshaller
Discard the class cache.
clearInstanceCache() - Method in interface org.jboss.marshalling.Marshaller
Discard the instance cache.
clearInstanceCache() - Method in interface org.jboss.marshalling.Unmarshaller
Discard the instance cache.
close() - Method in class org.jboss.marshalling.AbstractMarshaller
Closes the stream.
close() - Method in class org.jboss.marshalling.MarshallerObjectInputStream
Closes the input stream.
close() - Method in class org.jboss.marshalling.MarshallerObjectOutputStream
Closes the stream.
ContextClassResolver - Class in org.jboss.marshalling
A class resolver which uses the context classloader to resolve classes.
ContextClassResolver() - Constructor for class org.jboss.marshalling.ContextClassResolver
Construct a new instance.
create(Class<T>) - Method in interface org.jboss.marshalling.Creator
Create an object instance.
create(Class<T>) - Method in class org.jboss.marshalling.reflect.ReflectiveCreator
Create an object instance.
createByteInput(ByteBuffer) - Static method in class org.jboss.marshalling.Marshalling
Create a ByteInput wrapper for a ByteBuffer.
createByteInput(InputStream) - Static method in class org.jboss.marshalling.Marshalling
Create a ByteInput wrapper for an InputStream.
createByteOutput(ByteBuffer) - Static method in class org.jboss.marshalling.Marshalling
Create a ByteOutput wrapper for a ByteBuffer.
createByteOutput(OutputStream) - Static method in class org.jboss.marshalling.Marshalling
Create a ByteOutput wrapper for an OutputStream.
createExternal(Class<?>, ObjectInput, Creator) - Method in class org.jboss.marshalling.AbstractExternalizer
Create an instance of a type using the provided creator.
createExternal(Class<?>, ObjectInput, Creator) - Method in interface org.jboss.marshalling.Externalizer
Create an instance of a type.
createMarshaller(MarshallingConfiguration) - Method in interface org.jboss.marshalling.MarshallerFactory
Create a marshaller from this configuration.
createMarshaller(MarshallingConfiguration) - Method in class org.jboss.marshalling.serialization.java.JavaSerializationMarshallerFactory
 
createMarshaller(MarshallingConfiguration) - Method in class org.jboss.river.RiverMarshallerFactory
Create a marshaller from this configuration.
createUnmarshaller(MarshallingConfiguration) - Method in interface org.jboss.marshalling.MarshallerFactory
Create an unmarshaller from this configuration.
createUnmarshaller(MarshallingConfiguration) - Method in class org.jboss.marshalling.serialization.java.JavaSerializationMarshallerFactory
 
createUnmarshaller(MarshallingConfiguration) - Method in class org.jboss.river.RiverMarshallerFactory
Create an unmarshaller from this configuration.
creator - Variable in class org.jboss.marshalling.AbstractMarshaller
The configured object creator.
creator - Variable in class org.jboss.marshalling.AbstractUnmarshaller
The configured object creator.
Creator - Interface in org.jboss.marshalling
An instance creator.

D

defaultReadObject() - Method in class org.jboss.marshalling.MarshallerObjectInputStream
Read the non-static and non-transient fields of the current class from this stream.
defaultWriteObject() - Method in class org.jboss.marshalling.MarshallerObjectOutputStream
Write the non-static and non-transient fields of the current class to this stream.
doReadObject(boolean) - Method in class org.jboss.marshalling.AbstractUnmarshaller
Implementation of the actual object-reading method.
doStart() - Method in class org.jboss.marshalling.AbstractMarshaller
Perform any marshaller-specific start activity.
doStart() - Method in class org.jboss.marshalling.AbstractUnmarshaller
Perform any unmarshaller-specific start activity.
doWriteObject(Object, boolean) - Method in class org.jboss.marshalling.AbstractMarshaller
Implementation of the actual object-writing method.
drain() - Method in class org.jboss.marshalling.MarshallerObjectOutputStream
Drain any buffered data in ObjectOutputStream.

E

enableReplaceObject(boolean) - Method in class org.jboss.marshalling.MarshallerObjectOutputStream
Enable the stream to do replacement of objects in the stream.
enableResolveObject(boolean) - Method in class org.jboss.marshalling.MarshallerObjectInputStream
Enable the stream to allow objects read from the stream to be replaced.
Externalizer - Interface in org.jboss.marshalling
A replacement serializer for an object class.
externalizerFactory - Variable in class org.jboss.marshalling.AbstractMarshaller
The configured externalizer factory.
externalizerFactory - Variable in class org.jboss.marshalling.AbstractUnmarshaller
The configured externalizer factory.
ExternalizerFactory - Interface in org.jboss.marshalling
A factory for locating custom externalizers.

F

finish() - Method in class org.jboss.marshalling.AbstractMarshaller
Finish marshalling to a stream.
finish() - Method in class org.jboss.marshalling.AbstractUnmarshaller
Finish unmarshalling from a stream.
finish() - Method in interface org.jboss.marshalling.Marshaller
Finish marshalling to a stream.
finish() - Method in interface org.jboss.marshalling.Unmarshaller
Finish unmarshalling from a stream.
flush() - Method in class org.jboss.marshalling.AbstractMarshaller
Flushes the stream.
flush() - Method in class org.jboss.marshalling.MarshallerObjectOutputStream
Flushes the stream.

G

getBufferSize() - Method in class org.jboss.marshalling.MarshallingConfiguration
Get the configured buffer size.
getCachedConstructor(Class<T>) - Method in class org.jboss.marshalling.reflect.ReflectiveCreator
Get a cached constructor for the class.
getClassCount() - Method in class org.jboss.marshalling.MarshallingConfiguration
Get the estimated class count for this configuration.
getClassLoader() - Method in class org.jboss.marshalling.AbstractClassResolver
Get the classloader to use to resolve classes for this resolver.
getClassLoader() - Method in class org.jboss.marshalling.ContextClassResolver
Get the classloader to use to resolve classes for this resolver.
getClassLoader() - Method in class org.jboss.marshalling.SimpleClassResolver
Get the classloader to use to resolve classes for this resolver.
getClassResolver() - Method in class org.jboss.marshalling.MarshallingConfiguration
Get the class resolver, or null if none is specified.
getClassTable() - Method in class org.jboss.marshalling.MarshallingConfiguration
Get the class table, or null if none is specified.
getClassWriter(Class<?>) - Method in interface org.jboss.marshalling.ClassTable
Determine whether the given class reference is a valid predefined reference.
getCreator() - Method in class org.jboss.marshalling.MarshallingConfiguration
Get the object creator, or null if none is specified.
getDefaultClassResolver() - Method in class org.jboss.marshalling.AbstractMarshallerFactory
Get the default class resolver, which is used if none was configured.
getDefaultClassResolver() - Method in class org.jboss.marshalling.serialization.java.JavaSerializationMarshallerFactory
 
getDefaultClassTable() - Method in class org.jboss.marshalling.AbstractMarshallerFactory
Get the default class table, which is used if none was configured.
getDefaultClassTable() - Method in class org.jboss.marshalling.serialization.java.JavaSerializationMarshallerFactory
 
getDefaultCreator() - Method in class org.jboss.marshalling.AbstractMarshallerFactory
Get the default object creator, which is used if none was configured.
getDefaultExternalizerFactory() - Method in class org.jboss.marshalling.AbstractMarshallerFactory
Get the default externalizer factory, which is used if none was configured.
getDefaultExternalizerFactory() - Method in class org.jboss.marshalling.serialization.java.JavaSerializationMarshallerFactory
 
getDefaultObjectResolver() - Method in class org.jboss.marshalling.AbstractMarshallerFactory
Get the default object resolver, which is used if none was configured.
getDefaultObjectResolver() - Method in class org.jboss.marshalling.serialization.java.JavaSerializationMarshallerFactory
 
getDefaultObjectTable() - Method in class org.jboss.marshalling.AbstractMarshallerFactory
Get the default object, which is used if none was configured.
getDefaultObjectTable() - Method in class org.jboss.marshalling.serialization.java.JavaSerializationMarshallerFactory
 
getDefaultStreamHeader() - Method in class org.jboss.marshalling.AbstractMarshallerFactory
Get the default stream header, which is used if none was configured.
getDefaultStreamHeader() - Method in class org.jboss.marshalling.serialization.java.JavaSerializationMarshallerFactory
 
getEffectiveSerialVersionUID() - Method in class org.jboss.marshalling.reflect.SerializableClass
Get the effective serial version UID of this class.
getExternalizer(Object) - Method in interface org.jboss.marshalling.ExternalizerFactory
Look up a custom externalizer for a given object instance.
getExternalizerFactory() - Method in class org.jboss.marshalling.MarshallingConfiguration
Get the externalizer factory, or null if none is specified.
getField() - Method in class org.jboss.marshalling.reflect.SerializableField
Get the reflection Field for this serializable field.
getFields() - Method in class org.jboss.marshalling.reflect.SerializableClass
Get the serializable fields of this class.
getInstance() - Static method in class org.jboss.marshalling.reflect.SerializableClassRegistry
Get the serializable class registry instance, if allowed by the current security manager.
getInstanceCount() - Method in class org.jboss.marshalling.MarshallingConfiguration
Get the estimated instance count for this configuration.
getKind() - Method in class org.jboss.marshalling.reflect.SerializableField
Get the kind of field.
getLongUTFLength(String) - Static method in class org.jboss.marshalling.UTFUtils
Get the number of bytes used by the modified UTF-8 encoded form of the given string.
getName() - Method in class org.jboss.marshalling.reflect.SerializableField
Get the name of the field.
getNewConstructor(Class<T>) - Method in class org.jboss.marshalling.reflect.ReflectiveCreator
Get the constructor to use for a class.
getNewConstructor(Class<T>) - Method in class org.jboss.marshalling.reflect.SunReflectiveCreator
Get the constructor to use for a class.
getObjectResolver() - Method in class org.jboss.marshalling.MarshallingConfiguration
Get the object resolver, or null if none is specified.
getObjectTable() - Method in class org.jboss.marshalling.MarshallingConfiguration
Get the object table, or null if none is specified.
getObjectWriter(Object) - Method in interface org.jboss.marshalling.ObjectTable
Determine whether the given object reference is a valid predefined reference.
getSerializableField(String, Class<?>, boolean) - Method in class org.jboss.marshalling.reflect.SerializableClass
Create a synthetic field for this object class.
getShortUTFLength(String) - Static method in class org.jboss.marshalling.UTFUtils
Get the number of bytes used by the modified UTF-8 encoded form of the given string.
getStreamHeader() - Method in class org.jboss.marshalling.MarshallingConfiguration
Get the stream header, or null if none is specified.
getSubjectClass() - Method in class org.jboss.marshalling.reflect.SerializableClass
Get the Class of this class.
getType() - Method in class org.jboss.marshalling.reflect.SerializableField
Get the field type.

H

hasReadObject() - Method in class org.jboss.marshalling.reflect.SerializableClass
Determine whether this class has a readObject() method.
hasReadObjectNoData() - Method in class org.jboss.marshalling.reflect.SerializableClass
Determine whether this class has a readObjectNoData() method.
hasReadResolve() - Method in class org.jboss.marshalling.reflect.SerializableClass
Determine whether this class has a readResolve() method.
hasWriteObject() - Method in class org.jboss.marshalling.reflect.SerializableClass
Determine whether this class has a writeObject() method.
hasWriteReplace() - Method in class org.jboss.marshalling.reflect.SerializableClass
Determine whether this class has a writeReplace() method.

I

isUnshared() - Method in class org.jboss.marshalling.reflect.SerializableField
Determine whether this field is marked as "unshared".

J

JavaSerializationMarshallerFactory - Class in org.jboss.marshalling.serialization.java
 
JavaSerializationMarshallerFactory() - Constructor for class org.jboss.marshalling.serialization.java.JavaSerializationMarshallerFactory
 

L

lookup(Class<?>) - Method in class org.jboss.marshalling.reflect.SerializableClassRegistry
Look up serialization information for a class.

M

main(String[]) - Static method in class org.jboss.marshalling.Version
Print the version to System.out.
mark(int) - Method in class org.jboss.marshalling.MarshallerObjectInputStream
Marks the current position in this input stream.
markSupported() - Method in class org.jboss.marshalling.MarshallerObjectInputStream
Tests if this input stream supports the mark and reset methods.
Marshaller - Interface in org.jboss.marshalling
An object marshaller for writing objects to byte streams.
MarshallerFactory - Interface in org.jboss.marshalling
The main marshaller factory.
MarshallerObjectInputStream - Class in org.jboss.marshalling
A marshaller's object input stream.
MarshallerObjectInputStream(Unmarshaller) - Constructor for class org.jboss.marshalling.MarshallerObjectInputStream
Construct a new instance which delegates to the given unmarshaller.
MarshallerObjectOutputStream - Class in org.jboss.marshalling
A marshaller's object output stream.
MarshallerObjectOutputStream(Marshaller) - Constructor for class org.jboss.marshalling.MarshallerObjectOutputStream
Construct a new instance that delegates to the given marshaller.
Marshalling - Class in org.jboss.marshalling
Static utility methods for simplfying use of marshallers.
MarshallingConfiguration - Class in org.jboss.marshalling
A Marshaller configuration.
MarshallingConfiguration() - Constructor for class org.jboss.marshalling.MarshallingConfiguration
Construct a new instance.

N

nullClassTable() - Static method in class org.jboss.marshalling.Marshalling
Return the null class table instance.
nullExternalizerFactory() - Static method in class org.jboss.marshalling.Marshalling
Return the null externalizer factory.
nullObjectResolver() - Static method in class org.jboss.marshalling.Marshalling
Return the null object resolver.
nullObjectTable() - Static method in class org.jboss.marshalling.Marshalling
Return the null object instance table.
nullStreamHeader() - Static method in class org.jboss.marshalling.Marshalling
Get the default stream header producer, which reads and writes no header at all.

O

objectResolver - Variable in class org.jboss.marshalling.AbstractMarshaller
The configured object resolver.
objectResolver - Variable in class org.jboss.marshalling.AbstractUnmarshaller
The configured object resolver.
ObjectResolver - Interface in org.jboss.marshalling
Resolver for substituting objects in a stream.
objectTable - Variable in class org.jboss.marshalling.AbstractMarshaller
The configured object table.
objectTable - Variable in class org.jboss.marshalling.AbstractUnmarshaller
The configured object table.
ObjectTable - Interface in org.jboss.marshalling
A lookup mechanism for predefined object references.
ObjectTable.Writer - Interface in org.jboss.marshalling
The object writer for a specific object.
org.jboss.marshalling - package org.jboss.marshalling
The marshalling API.
org.jboss.marshalling.reflect - package org.jboss.marshalling.reflect
Reflection utilities for marshalling users and implementations.
org.jboss.marshalling.serialization.java - package org.jboss.marshalling.serialization.java
The Java serialization-compatible protocol implementation package.
org.jboss.river - package org.jboss.river
The River protocol implementation package.

P

putFields() - Method in class org.jboss.marshalling.MarshallerObjectOutputStream
Retrieve the object used to buffer persistent fields to be written to the stream.

R

read() - Method in class org.jboss.marshalling.AbstractUnmarshaller
Reads a byte of data.
read(byte[]) - Method in class org.jboss.marshalling.AbstractUnmarshaller
Reads into an array of bytes.
read(byte[], int, int) - Method in class org.jboss.marshalling.AbstractUnmarshaller
Reads into an array of bytes.
read() - Method in interface org.jboss.marshalling.ByteInput
Reads the next byte of data from the input stream.
read(byte[]) - Method in interface org.jboss.marshalling.ByteInput
Read some bytes from the input stream into the given array.
read(byte[], int, int) - Method in interface org.jboss.marshalling.ByteInput
Read some bytes from the input stream into the given array.
read() - Method in class org.jboss.marshalling.MarshallerObjectInputStream
Reads a byte of data.
read(byte[]) - Method in class org.jboss.marshalling.MarshallerObjectInputStream
Reads some number of bytes from the input stream and stores them into the buffer array b.
read(byte[], int, int) - Method in class org.jboss.marshalling.MarshallerObjectInputStream
Reads into an array of bytes.
readBoolean() - Method in class org.jboss.marshalling.AbstractUnmarshaller
Reads one input byte and returns true if that byte is nonzero, false if that byte is zero.
readBoolean() - Method in class org.jboss.marshalling.MarshallerObjectInputStream
Reads in a boolean.
readByte() - Method in class org.jboss.marshalling.AbstractUnmarshaller
Reads and returns one input byte.
readByte() - Method in class org.jboss.marshalling.MarshallerObjectInputStream
Reads an 8 bit byte.
readChar() - Method in class org.jboss.marshalling.AbstractUnmarshaller
Reads two input bytes and returns a char value.
readChar() - Method in class org.jboss.marshalling.MarshallerObjectInputStream
Reads a 16 bit char.
readClass(Unmarshaller) - Method in interface org.jboss.marshalling.ClassTable
Read a class from the stream.
readClassDescriptor() - Method in class org.jboss.marshalling.MarshallerObjectInputStream
Read a class descriptor from the serialization stream.
readDouble() - Method in class org.jboss.marshalling.AbstractUnmarshaller
Reads eight input bytes and returns a double value.
readDouble() - Method in class org.jboss.marshalling.MarshallerObjectInputStream
Reads a 64 bit double.
readExternal(Object, ObjectInput) - Method in interface org.jboss.marshalling.Externalizer
Read the external representation of an object.
readFields() - Method in class org.jboss.marshalling.MarshallerObjectInputStream
Reads the persistent fields from the stream and makes them available by name.
readFloat() - Method in class org.jboss.marshalling.AbstractUnmarshaller
Reads four input bytes and returns a float value.
readFloat() - Method in class org.jboss.marshalling.MarshallerObjectInputStream
Reads a 32 bit float.
readFully(byte[]) - Method in class org.jboss.marshalling.AbstractUnmarshaller
Reads some bytes from an input stream and stores them into the buffer array b.
readFully(byte[], int, int) - Method in class org.jboss.marshalling.AbstractUnmarshaller
Reads len bytes from an input stream.
readFully(byte[]) - Method in class org.jboss.marshalling.MarshallerObjectInputStream
Reads bytes, blocking until all bytes are read.
readFully(byte[], int, int) - Method in class org.jboss.marshalling.MarshallerObjectInputStream
Reads bytes, blocking until all bytes are read.
readHeader(Unmarshaller) - Method in interface org.jboss.marshalling.StreamHeader
Read the stream header from the stream.
readInt() - Method in class org.jboss.marshalling.AbstractUnmarshaller
Reads four input bytes and returns an int value.
readInt() - Method in class org.jboss.marshalling.MarshallerObjectInputStream
Reads a 32 bit int.
readLine() - Method in class org.jboss.marshalling.AbstractUnmarshaller
Reads the next line of text from the input stream.
readLine() - Method in class org.jboss.marshalling.MarshallerObjectInputStream
Deprecated. 
readLong() - Method in class org.jboss.marshalling.AbstractUnmarshaller
Reads eight input bytes and returns a long value.
readLong() - Method in class org.jboss.marshalling.MarshallerObjectInputStream
Reads a 64 bit long.
readObject() - Method in class org.jboss.marshalling.AbstractUnmarshaller
Read and return an object.
readObject(Unmarshaller) - Method in interface org.jboss.marshalling.ObjectTable
Read an instance from the stream.
readObjectOverride() - Method in class org.jboss.marshalling.MarshallerObjectInputStream
This method is called by trusted subclasses of ObjectOutputStream that constructed ObjectOutputStream using the protected no-arg constructor.
readObjectUnshared() - Method in class org.jboss.marshalling.AbstractUnmarshaller
Read and return an unshared object.
readObjectUnshared() - Method in interface org.jboss.marshalling.Unmarshaller
Read and return an unshared object.
readResolve(Object) - Method in interface org.jboss.marshalling.ObjectResolver
Get the original object for a replacement object read from a stream.
readShort() - Method in class org.jboss.marshalling.AbstractUnmarshaller
Reads two input bytes and returns a short value.
readShort() - Method in class org.jboss.marshalling.MarshallerObjectInputStream
Reads a 16 bit short.
readStreamHeader() - Method in class org.jboss.marshalling.MarshallerObjectInputStream
The readStreamHeader method is provided to allow subclasses to read and verify their own stream headers.
readUnshared() - Method in class org.jboss.marshalling.MarshallerObjectInputStream
Reads an "unshared" object from the ObjectInputStream.
readUnsignedByte() - Method in class org.jboss.marshalling.AbstractUnmarshaller
Reads one input byte, zero-extends it to type int, and returns the result, which is therefore in the range 0 through 255.
readUnsignedByte() - Method in class org.jboss.marshalling.MarshallerObjectInputStream
Reads an unsigned 8 bit byte.
readUnsignedShort() - Method in class org.jboss.marshalling.AbstractUnmarshaller
Reads two input bytes and returns an int value in the range 0 through 65535.
readUnsignedShort() - Method in class org.jboss.marshalling.MarshallerObjectInputStream
Reads an unsigned 16 bit short.
readUTF() - Method in class org.jboss.marshalling.AbstractUnmarshaller
Reads in a string that has been encoded using a modified UTF-8 format.
readUTF() - Method in class org.jboss.marshalling.MarshallerObjectInputStream
Reads a String in modified UTF-8 format.
readUTFBytes(ByteInput, int) - Static method in class org.jboss.marshalling.UTFUtils
Read the given number of characters from the given byte input.
readUTFZBytes(ByteInput) - Static method in class org.jboss.marshalling.UTFUtils
Read a null-terminated modified UTF-8 string from the given byte input.
ReflectiveCreator - Class in org.jboss.marshalling.reflect
A creator that simply uses reflection to locate and invoke a zero-argument constructor.
ReflectiveCreator() - Constructor for class org.jboss.marshalling.reflect.ReflectiveCreator
 
registerValidation(ObjectInputValidation, int) - Method in class org.jboss.marshalling.MarshallerObjectInputStream
Register an object to be validated before the graph is returned.
replaceObject(Object) - Method in class org.jboss.marshalling.MarshallerObjectOutputStream
This method will allow trusted subclasses of ObjectOutputStream to substitute one object for another during serialization.
reset() - Method in class org.jboss.marshalling.MarshallerObjectInputStream
Repositions this stream to the position at the time the mark method was last called on this input stream.
reset() - Method in class org.jboss.marshalling.MarshallerObjectOutputStream
Reset will disregard the state of any objects already written to the stream.
resolveClass(Unmarshaller, String, long) - Method in class org.jboss.marshalling.AbstractClassResolver
Load the local class for a class descriptor.
resolveClass(Unmarshaller, String, long) - Method in interface org.jboss.marshalling.ClassResolver
Load the local class for a class descriptor.
resolveClass(ObjectStreamClass) - Method in class org.jboss.marshalling.MarshallerObjectInputStream
Load the local class equivalent of the specified stream class description.
resolveObject(Object) - Method in class org.jboss.marshalling.MarshallerObjectInputStream
This method will allow trusted subclasses of ObjectInputStream to substitute one object for another during deserialization.
resolveProxyClass(Unmarshaller, String[]) - Method in class org.jboss.marshalling.AbstractClassResolver
Load a proxy class that implements the given interfaces.
resolveProxyClass(Unmarshaller, String[]) - Method in interface org.jboss.marshalling.ClassResolver
Load a proxy class that implements the given interfaces.
resolveProxyClass(String[]) - Method in class org.jboss.marshalling.MarshallerObjectInputStream
Returns a proxy class that implements the interfaces named in a proxy class descriptor; subclasses may implement this method to read custom data from the stream along with the descriptors for dynamic proxy classes, allowing them to use an alternate loading mechanism for the interfaces and the proxy class.
RiverMarshallerFactory - Class in org.jboss.river
The River marshaller factory implementation.
RiverMarshallerFactory() - Constructor for class org.jboss.river.RiverMarshallerFactory
Construct a new instance of a River marshaller factory.

S

SerializableClass - Class in org.jboss.marshalling.reflect
Reflection information about a serializable class.
SerializableClassRegistry - Class in org.jboss.marshalling.reflect
A registry for reflection information usable by serialization implementations.
SerializableField - Class in org.jboss.marshalling.reflect
Reflection information about a field on a serializable class.
SerializableField.Kind - Enum in org.jboss.marshalling.reflect
The kind of type for this field.
setBufferSize(int) - Method in class org.jboss.marshalling.MarshallingConfiguration
Set the configured buffer size.
setClassCount(int) - Method in class org.jboss.marshalling.MarshallingConfiguration
Set the estimated class count for this configuration.
setClassResolver(ClassResolver) - Method in class org.jboss.marshalling.MarshallingConfiguration
Set the class resolver, or null to use the default.
setClassTable(ClassTable) - Method in class org.jboss.marshalling.MarshallingConfiguration
Set the class table, or null to use none.
setCreator(Creator) - Method in class org.jboss.marshalling.MarshallingConfiguration
Set the object creator, or null to use the default.
setExternalizerFactory(ExternalizerFactory) - Method in class org.jboss.marshalling.MarshallingConfiguration
Set the externalizer factory.
setInstanceCount(int) - Method in class org.jboss.marshalling.MarshallingConfiguration
Set the estimated instance count for this configuration.
setObjectResolver(ObjectResolver) - Method in class org.jboss.marshalling.MarshallingConfiguration
Set the object resolver, or null to use none.
setObjectTable(ObjectTable) - Method in class org.jboss.marshalling.MarshallingConfiguration
Set the object table, or null to use none.
setStreamHeader(StreamHeader) - Method in class org.jboss.marshalling.MarshallingConfiguration
Set the stream header.
SimpleClassResolver - Class in org.jboss.marshalling
A class resolver which uses a predefined classloader.
SimpleClassResolver(ClassLoader) - Constructor for class org.jboss.marshalling.SimpleClassResolver
Construct a new instance, specifying a classloader.
skip(long) - Method in class org.jboss.marshalling.AbstractUnmarshaller
Skips n bytes of input.
skip(long) - Method in interface org.jboss.marshalling.ByteInput
Skips over and discards up to n bytes of data from this input stream.
skip(long) - Method in class org.jboss.marshalling.MarshallerObjectInputStream
Skips over and discards n bytes of data from this input stream.
skipBytes(int) - Method in class org.jboss.marshalling.AbstractUnmarshaller
Makes an attempt to skip over n bytes of data from the input stream, discarding the skipped bytes.
skipBytes(int) - Method in class org.jboss.marshalling.MarshallerObjectInputStream
Skips bytes.
start(ByteOutput) - Method in class org.jboss.marshalling.AbstractMarshaller
Begin marshalling to a stream.
start(ByteInput) - Method in class org.jboss.marshalling.AbstractUnmarshaller
Begin unmarshalling from a stream.
start(ByteOutput) - Method in interface org.jboss.marshalling.Marshaller
Begin marshalling to a stream.
start(ByteInput) - Method in interface org.jboss.marshalling.Unmarshaller
Begin unmarshalling from a stream.
streamHeader - Variable in class org.jboss.marshalling.AbstractMarshaller
The configured stream header.
streamHeader - Variable in class org.jboss.marshalling.AbstractUnmarshaller
The configured stream header.
StreamHeader - Interface in org.jboss.marshalling
A producer of stream headers.
SunReflectiveCreator - Class in org.jboss.marshalling.reflect
An object creator that uses methods only found in certain JVMs to create a new constructor if needed.
SunReflectiveCreator() - Constructor for class org.jboss.marshalling.reflect.SunReflectiveCreator
 

U

Unmarshaller - Interface in org.jboss.marshalling
An unmarshaller which reads objects from a stream.
useProtocolVersion(int) - Method in class org.jboss.marshalling.MarshallerObjectOutputStream
Specify stream protocol version to use when writing the stream.
UTFUtils - Class in org.jboss.marshalling
Handy utility methods for dealing with strings in the modified UTF-8 format.

V

valueOf(String) - Static method in enum org.jboss.marshalling.reflect.SerializableField.Kind
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.jboss.marshalling.reflect.SerializableField.Kind
Returns an array containing the constants of this enum type, in the order they are declared.
Version - Class in org.jboss.marshalling
The version of the Marshalling API.
VERSION - Static variable in class org.jboss.marshalling.Version
The version.

W

write(int) - Method in class org.jboss.marshalling.AbstractMarshaller
Writes a byte.
write(byte[]) - Method in class org.jboss.marshalling.AbstractMarshaller
Writes an array of bytes.
write(byte[], int, int) - Method in class org.jboss.marshalling.AbstractMarshaller
Writes a sub array of bytes.
write(int) - Method in interface org.jboss.marshalling.ByteOutput
Writes to the output stream the eight low-order bits of the argument b.
write(byte[]) - Method in interface org.jboss.marshalling.ByteOutput
Write all the bytes from the given array to the stream.
write(byte[], int, int) - Method in interface org.jboss.marshalling.ByteOutput
Write some of the bytes from the given array to the stream.
write(int) - Method in class org.jboss.marshalling.MarshallerObjectOutputStream
Writes a byte.
write(byte[]) - Method in class org.jboss.marshalling.MarshallerObjectOutputStream
Writes an array of bytes.
write(byte[], int, int) - Method in class org.jboss.marshalling.MarshallerObjectOutputStream
Writes a sub array of bytes.
writeBoolean(boolean) - Method in class org.jboss.marshalling.AbstractMarshaller
Writes a boolean value to this output stream.
writeBoolean(boolean) - Method in class org.jboss.marshalling.MarshallerObjectOutputStream
Writes a boolean.
writeByte(int) - Method in class org.jboss.marshalling.AbstractMarshaller
Writes to the output stream the eight low- order bits of the argument v.
writeByte(int) - Method in class org.jboss.marshalling.MarshallerObjectOutputStream
Writes an 8 bit byte.
writeBytes(String) - Method in class org.jboss.marshalling.AbstractMarshaller
Writes a string to the output stream.
writeBytes(String) - Method in class org.jboss.marshalling.MarshallerObjectOutputStream
Writes a String as a sequence of bytes.
writeChar(int) - Method in class org.jboss.marshalling.AbstractMarshaller
Writes a char value, which is comprised of two bytes, to the output stream.
writeChar(int) - Method in class org.jboss.marshalling.MarshallerObjectOutputStream
Writes a 16 bit char.
writeChars(String) - Method in class org.jboss.marshalling.AbstractMarshaller
Writes every character in the string s, to the output stream, in order, two bytes per character.
writeChars(String) - Method in class org.jboss.marshalling.MarshallerObjectOutputStream
Writes a String as a sequence of chars.
writeClass(Marshaller, Class<?>) - Method in interface org.jboss.marshalling.ClassTable.Writer
Write the predefined class reference to the stream.
writeClassDescriptor(ObjectStreamClass) - Method in class org.jboss.marshalling.MarshallerObjectOutputStream
Write the specified class descriptor to the ObjectOutputStream.
writeDouble(double) - Method in class org.jboss.marshalling.AbstractMarshaller
Writes a double value, which is comprised of eight bytes, to the output stream.
writeDouble(double) - Method in class org.jboss.marshalling.MarshallerObjectOutputStream
Writes a 64 bit double.
writeExternal(Object, ObjectOutput) - Method in interface org.jboss.marshalling.Externalizer
Write the external representation of an object.
writeFields() - Method in class org.jboss.marshalling.MarshallerObjectOutputStream
Write the buffered fields to the stream.
writeFloat(float) - Method in class org.jboss.marshalling.AbstractMarshaller
Writes a float value, which is comprised of four bytes, to the output stream.
writeFloat(float) - Method in class org.jboss.marshalling.MarshallerObjectOutputStream
Writes a 32 bit float.
writeHeader(Marshaller) - Method in interface org.jboss.marshalling.StreamHeader
Write the stream header to the stream.
writeInt(int) - Method in class org.jboss.marshalling.AbstractMarshaller
Writes an int value, which is comprised of four bytes, to the output stream.
writeInt(int) - Method in class org.jboss.marshalling.MarshallerObjectOutputStream
Writes a 32 bit int.
writeLong(long) - Method in class org.jboss.marshalling.AbstractMarshaller
Writes a long value, which is comprised of eight bytes, to the output stream.
writeLong(long) - Method in class org.jboss.marshalling.MarshallerObjectOutputStream
Writes a 64 bit long.
writeObject(Object) - Method in class org.jboss.marshalling.AbstractMarshaller
Write an object to the underlying storage or stream.
writeObject(Marshaller, Object) - Method in interface org.jboss.marshalling.ObjectTable.Writer
Write the predefined object reference to the stream.
writeObjectOverride(Object) - Method in class org.jboss.marshalling.MarshallerObjectOutputStream
Method used by subclasses to override the default writeObject method.
writeObjectUnshared(Object) - Method in class org.jboss.marshalling.AbstractMarshaller
Write an object to the underlying storage or stream as a new instance.
writeObjectUnshared(Object) - Method in interface org.jboss.marshalling.Marshaller
Write an object to the underlying storage or stream as a new instance.
writeReplace(Object) - Method in interface org.jboss.marshalling.ObjectResolver
Get a replacement for an object being written to a stream.
writeShort(int) - Method in class org.jboss.marshalling.AbstractMarshaller
Writes two bytes to the output stream to represent the value of the argument.
writeShort(int) - Method in class org.jboss.marshalling.MarshallerObjectOutputStream
Writes a 16 bit short.
writeStreamHeader() - Method in class org.jboss.marshalling.MarshallerObjectOutputStream
The writeStreamHeader method is provided so subclasses can append or prepend their own header to the stream.
writeUnshared(Object) - Method in class org.jboss.marshalling.MarshallerObjectOutputStream
Writes an "unshared" object to the ObjectOutputStream.
writeUTF(String) - Method in class org.jboss.marshalling.AbstractMarshaller
Writes two bytes of length information to the output stream, followed by the modified UTF-8 representation of every character in the string s.
writeUTF(String) - Method in class org.jboss.marshalling.MarshallerObjectOutputStream
Primitive data write of this String in modified UTF-8 format.
writeUTFBytes(ByteOutput, String) - Static method in class org.jboss.marshalling.UTFUtils
Write the modified UTF-8 form of the given string to the given output.

A B C D E F G H I J L M N O P R S U V W
Marshalling API version 1.0.0.GA

Copyright © 2008 JBoss, a division of Red Hat, Inc.