public static <T> T toObjectWithXStream(final XStream xstream, final String xmlString) {
    """
	Creates from the given xml string an java object.
	
	@param <T>
	the generic type of the return type
	@param xstream
	the xstream object.
	@param xmlString
	the xml as string object
	@return the object
    """
		return toObjectWithXStream(xstream, xmlString, null);
	}
public static <T> T toObjectWithXStream(final XStream xstream, final String xmlString)
	{
		return toObjectWithXStream(xstream, xmlString, null);
	}
public static < T > T toObjectWithXStream ( final XStream xstream , final String xmlString ) { return toObjectWithXStream ( xstream , xmlString , null ) ; }
Creates from the given xml string an java object.

@param <T>
the generic type of the return type
@param xstream
the xstream object.
@param xmlString
the xml as string object
@return the object
Creates from the given xml string an java object .