use of org.gradle.build.docs.dsl.docbook.model.ClassExtensionDoc in project gradle by gradle.
the class PropertiesRenderer method renderDetailsTo.
public void renderDetailsTo(ClassDoc classDoc, Element parent) {
if (hasProperties(classDoc)) {
Document document = parent.getOwnerDocument();
Element detailsSection = document.createElement("section");
parent.appendChild(detailsSection);
Element title = document.createElement("title");
detailsSection.appendChild(title);
title.appendChild(document.createTextNode("Property details"));
for (PropertyDoc classProperty : classDoc.getClassProperties()) {
propertiesDetailRenderer.renderTo(classProperty, detailsSection);
}
for (ClassExtensionDoc extensionDoc : classDoc.getClassExtensions()) {
for (PropertyDoc propertyDoc : extensionDoc.getExtensionProperties()) {
propertiesDetailRenderer.renderTo(propertyDoc, detailsSection);
}
}
}
}
Aggregations