}
private void addCurrentSection() {
if (parameters != null) {
if (currentParameterName != null) {
parameters.add(new Parameter(currentParameterName, currentParameterText.toString()));
}
ddoc.addSection(new DdocSection(currentSectionName, currentSectionType,
currentSectionText.toString().trim(), parameters.toArray(new Parameter[parameters.size()])));
} else {
ddoc.addSection(new DdocSection(currentSectionName, currentSectionType,