Marshalling API version 1.0.0.Beta1

org.jboss.marshalling
Interface MarshallerFactory

All Known Implementing Classes:
AbstractMarshallerFactory, RiverMarshallerFactory

public interface MarshallerFactory

The main marshaller factory.


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

Method Detail

createUnmarshaller

Unmarshaller createUnmarshaller(Configuration configuration)
                                throws IOException
Create an unmarshaller from this configuration.

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

createMarshaller

Marshaller createMarshaller(Configuration configuration)
                            throws IOException
Create a marshaller from this configuration.

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

Marshalling API version 1.0.0.Beta1

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