public class PreDefinedSection extends Object implements Section
| Constructor and Description |
|---|
PreDefinedSection(String title) |
| Modifier and Type | Method and Description |
|---|---|
PreDefinedSection |
addSection(Section section) |
boolean |
isEmpty() |
protected List<Section> |
resolveSubSections(List<Section> sections)
Resolve the sections to render based on the current registered sections.
|
void |
write(PrintWriter writer)
Write the content of the section to the specified
writer. |
public PreDefinedSection(String title)
public PreDefinedSection addSection(Section section)
public void write(PrintWriter writer) throws IOException
Sectionwriter.write in interface Sectionwriter - the writer to useIOException - if writing the section failedpublic boolean isEmpty()
Copyright © 2022 Pivotal Software, Inc.. All rights reserved.