public static < T > T toObjectWithXStream ( final String xmlString , final Map < String , Class < ? > > aliases ) { return toObjectWithXStream ( null , xmlString , aliases ) ; }
Creates from the given xml string an Object . The given map hold the aliases . For more information with aliasing see documation of xstream .