JBoss Marshalling 1.3.0.GA

org.jboss.marshalling
Interface MarshallerFactory

All Known Implementing Classes:
AbstractMarshallerFactory, 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 - the marshalling configuration to use
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 - the marshalling configuration to use
Returns:
a marshaller
Throws:
java.io.IOException - if an error occurs

JBoss Marshalling 1.3.0.GA

Copyright © 2011 JBoss, a division of Red Hat, Inc.