public final class SerialMarshallerFactory extends AbstractMarshallerFactory implements MarshallerFactory
| Modifier and Type | Field and Description |
|---|---|
private static StreamHeader |
defaultHeader |
private SerializableClassRegistry |
registry |
| Constructor and Description |
|---|
SerialMarshallerFactory()
Construct a new instance of a River marshaller factory.
|
| Modifier and Type | Method and Description |
|---|---|
Marshaller |
createMarshaller(MarshallingConfiguration configuration)
Create a marshaller from this configuration.
|
Unmarshaller |
createUnmarshaller(MarshallingConfiguration configuration)
Create an unmarshaller from this configuration.
|
protected StreamHeader |
getDefaultStreamHeader()
Get the default stream header, which is used if none was configured.
|
protected int |
getDefaultVersion()
Get the default version, which is used if none was configured.
|
getDefaultBufferSize, getDefaultClassExternalizerFactory, getDefaultClassResolver, getDefaultClassTable, getDefaultObjectResolver, getDefaultObjectTable, getMinimumBufferSizeprivate final SerializableClassRegistry registry
private static final StreamHeader defaultHeader
public SerialMarshallerFactory()
protected StreamHeader getDefaultStreamHeader()
AbstractMarshallerFactorygetDefaultStreamHeader in class AbstractMarshallerFactoryprotected int getDefaultVersion()
AbstractMarshallerFactorygetDefaultVersion in class AbstractMarshallerFactorypublic Unmarshaller createUnmarshaller(MarshallingConfiguration configuration) throws java.io.IOException
MarshallerFactorycreateUnmarshaller in interface MarshallerFactoryconfiguration - the marshalling configuration to usejava.io.IOException - if an error occurspublic Marshaller createMarshaller(MarshallingConfiguration configuration) throws java.io.IOException
MarshallerFactorycreateMarshaller in interface MarshallerFactoryconfiguration - the marshalling configuration to usejava.io.IOException - if an error occurs