Package org.jboss.marshalling
Interface MarshallerFactory
-
- All Known Implementing Classes:
AbstractMarshallerFactory
public interface MarshallerFactory
The main marshaller factory.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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 IOException
Create an unmarshaller from this configuration.- Parameters:
configuration
- the marshalling configuration to use- Returns:
- an unmarshaller
- Throws:
IOException
- if an error occurs
-
createMarshaller
Marshaller createMarshaller(MarshallingConfiguration configuration) throws IOException
Create a marshaller from this configuration.- Parameters:
configuration
- the marshalling configuration to use- Returns:
- a marshaller
- Throws:
IOException
- if an error occurs
-
-