xstreamXStream is a simple library to serialize objects to XML and back again. Features. Ease of use. A hh level facade is supplied that simplifies common use cases. No mappings required. MostXStream Annotations Tutorial also says that for att attribute: Note, that no XStreamAsAttribute annotations were necessary. The converter assumes it implicitly.