| java.lang.Object com.sun.media.jai.rmi.SerializerImpl
SerializerImpl | final public class SerializerImpl implements Serializer(Code) | | Framework class for automatically creating Serializer s
for SerializableStateImpl subclasses. Each subclass of
SerializableStateImpl should add a statement like
registerSerializers(MySerializableState.class);
to the no-argument version of registerSerializers() .
This latter method is invoked by the static initializer of
SerializerFactory .
since: 1.1 |
Constructor Summary | |
protected | SerializerImpl(Class ssi, Class c, boolean areSubclassesPermitted) Constructs a SerializerImpl . |
SerializerImpl | protected SerializerImpl(Class ssi, Class c, boolean areSubclassesPermitted)(Code) | | Constructs a SerializerImpl . The parameter c
is saved by reference. The parameter c is used to
determine the standard SerializableStateImpl constructor
which is saved by reference. The supplied parameters are not checked
as this class should never be instantiated except from within
registerSerializers(Class) .
|
getSupportedClass | public Class getSupportedClass()(Code) | | |
permitsSubclasses | public boolean permitsSubclasses()(Code) | | |
registerSerializers | final public static void registerSerializers()(Code) | | Registers all known Serializer s with the
SerializerFactory .
|
|
|