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 IOException
configuration
- the marshalling configuration to useIOException
- if an error occurspublic Marshaller createMarshaller(MarshallingConfiguration configuration) throws IOException
configuration
- the marshalling configuration to useIOException
- if an error occursprotected int getDefaultVersion()
AbstractMarshallerFactory
getDefaultVersion
in class AbstractMarshallerFactory
Copyright © 2021 JBoss by Red Hat. All rights reserved.