org.jboss.marshalling
Interface MarshallerFactory

All Known Implementing Classes:
AbstractMarshallerFactory, JavaSerializationMarshallerFactory, RiverMarshallerFactory, SerialMarshallerFactory

public interface MarshallerFactory

The main marshaller factory.


Method Summary
 Marshaller createMarshaller(MarshallingConfiguration configuration)
          Create a marshaller from this configuration.
 Unmarshaller createUnmarshaller(MarshallingConfiguration configuration)
          Create an unmarshaller from this configuration.
 

Method Detail

createUnmarshaller

Unmarshaller createUnmarshaller(MarshallingConfiguration configuration)
                                throws java.io.IOException
Create an unmarshaller from this configuration.

Parameters:
configuration -
Returns:
an unmarshaller
Throws:
java.io.IOException - if an error occurs

createMarshaller

Marshaller createMarshaller(MarshallingConfiguration configuration)
                            throws java.io.IOException
Create a marshaller from this configuration.

Parameters:
configuration -
Returns:
a marshaller
Throws:
java.io.IOException - if an error occurs