public String toXml ( ) { final String lqSimpleName = this . getClass ( ) . getSimpleName ( ) . toLowerCase ( ) ; final Map < String , Class < ? > > aliases = new HashMap <> ( ) ; aliases . put ( lqSimpleName , this . getClass ( ) ) ; return ObjectToXmlExtensions . toXmlWithXStream ( this , aliases ) ; }
To xml .