public final class SerialMarshallerFactory extends AbstractMarshallerFactory implements MarshallerFactory
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, getDefaultExternalizedCreator, getDefaultObjectResolver, getDefaultObjectTable, getDefaultSerializedCreator, getMinimumBufferSize
public SerialMarshallerFactory()
protected StreamHeader getDefaultStreamHeader()
AbstractMarshallerFactory
getDefaultStreamHeader
in class AbstractMarshallerFactory
protected int getDefaultVersion()
AbstractMarshallerFactory
getDefaultVersion
in class AbstractMarshallerFactory
public Unmarshaller createUnmarshaller(MarshallingConfiguration configuration) throws java.io.IOException
MarshallerFactory
createUnmarshaller
in interface MarshallerFactory
configuration
- the marshalling configuration to usejava.io.IOException
- if an error occurspublic Marshaller createMarshaller(MarshallingConfiguration configuration) throws java.io.IOException
MarshallerFactory
createMarshaller
in interface MarshallerFactory
configuration
- the marshalling configuration to usejava.io.IOException
- if an error occursCopyright © 2011 JBoss, a division of Red Hat, Inc.