src/main/java/js/http/encoder/XmlValueWriter.java
@Override
	public void write(HttpServletResponse httpResponse, Object value) throws IOException {
		final Document document = (Document) value;
		document.serialize(new OutputStreamWriter(httpResponse.getOutputStream(), "UTF-8"));
	}
@Override
	public void write(HttpServletResponse httpResponse, Object value) throws IOException {
		final Document document = (Document) value;
		document.serialize(new OutputStreamWriter(httpResponse.getOutputStream(), "UTF-8"));
	}
Serialize XML document to output stream of given HTTP response.

@param httpResponse HTTP response,
@param value value object is a XML document.
@throws IOException if output stream write operation fails.