String type = context.getProperty(PropertyRegistry.CONTEXT_XML_FORMATTER);
if (!StringUtility.stringHasValue(type)) {
type = DefaultXmlFormatter.class.getName();
}
XmlFormatter answer = (XmlFormatter) createInternalObject(type);
answer.setContext(context);
return answer;
}