The XStream classes enable Bean to XML to Bean conversion using the XStream library. These are configured to produce and consume XML that conforms to the OpenSocial XSD. Most of the mapping is performed by InterfaceClassMapper which is configured by the BeanXStreamConverter class.