* @return content of <b>documentation</b> elements, or <code>null</code> if none
*/
protected String extractDocumentation(AnnotatedBase element) {
if (m_schemaCustom.isJavaDocDocumentation()) {
StringWriter writer = new StringWriter();
AnnotationElement anno = element.getAnnotation();
if (anno != null) {
FilteredSegmentList items = anno.getItemsList();
for (int i = 0; i < items.size(); i++) {
AnnotationItem item = (AnnotationItem)items.get(i);
if (item instanceof DocumentationElement) {
DocumentationElement doc = (DocumentationElement)item;
List contents = doc.getContent();