src/main/java/de/alpharogroup/xml/ObjectToXmlExtensions.java
public static <T> String toXmlWithXStream(final T objectToXML,
		final Map<String, Class<?>> aliases)
	{
		return toXmlWithXStream(null, objectToXML, aliases);
	}
public static <T> String toXmlWithXStream(final T objectToXML,
		final Map<String, Class<?>> aliases)
	{
		return toXmlWithXStream(null, objectToXML, aliases);
	}
Creates from the given Object an xml string. The given map hold the aliases. For more
information with aliasing see documation of xstream.

@param <T>
the generic type of the object that will be transformed to xml
@param objectToXML
the object to xml
@param aliases
the aliases
@return the xml string