Object contentType = headerMap.getFirst(HttpHeaders.CONTENT_TYPE);
if (contentType != null)
{
if (log.isDebugEnabled()) log.debug("Writing Model using XSLT media type: {}", contentType);
bld.outputProperty(OutputKeys.MEDIA_TYPE, contentType.toString());
}
Object contentLanguage = headerMap.getFirst(HttpHeaders.CONTENT_LANGUAGE);
if (contentLanguage != null)
{
if (log.isDebugEnabled()) log.debug("Writing Model using language: {}", contentLanguage.toString());