{
@Override
public IResource getResource()
{
MultiFormatSerialDeserial multiFormat = new MultiFormatSerialDeserial();
multiFormat.registerSerDeser(new JsonTestWebSerialDeserial(),
RestMimeTypes.APPLICATION_JSON);
multiFormat.registerSerDeser(new XmlTestWebSerialDeserial(),
RestMimeTypes.APPLICATION_XML);
return new MultiFormatRestResource(multiFormat);
}