documentationWriter = (ChangeListener) context.getAttributes().getMap().get(ChangeListener.class);
if (documentationWriter == null){
if (context.getAttributes().getMap().containsKey(DocumentationContext.DOCUMENTATION_WRITER_PARAMETER))
documentationWriter = (ChangeListener) Class.forName(context.getAttributes().getMap().get(DocumentationContext.DOCUMENTATION_WRITER_PARAMETER).toString()).newInstance();
else
documentationWriter = new HtmlDocumentationWriter();
context.getAttributes().getMap().put(ChangeListener.class, documentationWriter);
}
String targetDirectory = context.getFromAttributesMap(DocumentationContext.DOCUMENTATION_TARGET_PARAMETER);