Marshalling API version 1.0.0.Beta2

org.jboss.river
Class RiverMarshallerFactory

java.lang.Object
  extended by org.jboss.marshalling.AbstractMarshallerFactory
      extended by org.jboss.river.RiverMarshallerFactory
All Implemented Interfaces:
MarshallerFactory

public class RiverMarshallerFactory
extends AbstractMarshallerFactory

The River marshaller factory implementation.


Constructor Summary
RiverMarshallerFactory()
          Construct a new instance of a River marshaller factory.
 
Method Summary
 Marshaller createMarshaller(Configuration configuration)
          Create a marshaller from this configuration.
 Unmarshaller createUnmarshaller(Configuration configuration)
          Create an unmarshaller from this configuration.
 
Methods inherited from class org.jboss.marshalling.AbstractMarshallerFactory
getDefaultClassResolver, getDefaultClassTable, getDefaultCreator, getDefaultExternalizerFactory, getDefaultObjectResolver, getDefaultObjectTable, getDefaultStreamHeader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RiverMarshallerFactory

public RiverMarshallerFactory()
Construct a new instance of a River marshaller factory.

Method Detail

createUnmarshaller

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

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

createMarshaller

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

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

Marshalling API version 1.0.0.Beta2

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