public class RiverMarshallerFactory extends AbstractMarshallerFactory
Constructor and Description |
---|
RiverMarshallerFactory()
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 int |
getDefaultVersion()
Get the default version, which is used if none was configured.
|
getDefaultBufferSize, getDefaultClassExternalizerFactory, getDefaultClassResolver, getDefaultClassTable, getDefaultObjectResolver, getDefaultObjectTable, getDefaultStreamHeader, getMinimumBufferSize
public RiverMarshallerFactory()
public Unmarshaller createUnmarshaller(MarshallingConfiguration configuration) throws java.io.IOException
configuration
- the marshalling configuration to usejava.io.IOException
- if an error occurspublic Marshaller createMarshaller(MarshallingConfiguration configuration) throws java.io.IOException
configuration
- the marshalling configuration to usejava.io.IOException
- if an error occursprotected int getDefaultVersion()
AbstractMarshallerFactory
getDefaultVersion
in class AbstractMarshallerFactory
Copyright © 2011 JBoss, a division of Red Hat, Inc.