@Override
public Object readObject(MessageReader mreader, Context context) throws DatabindingException {
try {
XMLStreamReader reader = ((ElementReader)mreader).getXMLStreamReader();
return StaxUtils.read(builder, new FragmentStreamReader(reader), true);
} catch (XMLStreamException e) {
throw new DatabindingException("Could not parse xml.", e);
}
}