Class DefaultJAXBObjectMapperFactory
java.lang.Object
io.restassured.common.mapper.factory.DefaultJAXBObjectMapperFactory
- All Implemented Interfaces:
JAXBObjectMapperFactory,ObjectMapperFactory<javax.xml.bind.JAXBContext>
Simply creates a new JAXBContext based on the supplied class.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DefaultJAXBObjectMapperFactory
public DefaultJAXBObjectMapperFactory()
-
-
Method Details
-
create
Description copied from interface:ObjectMapperFactoryCreate the object mapper instance.- Specified by:
createin interfaceObjectMapperFactory<javax.xml.bind.JAXBContext>- Parameters:
cls- The type of the class to serialize or de-serializecharset- The charset- Returns:
- An object mapper instance
-