public final class SDocumentWithSections extends SDocument
| Modifier and Type | Method and Description |
|---|---|
static SDocumentWithSections |
document(SDocumentTitle in_title,
SNonEmptyList<SSection> in_content)
Construct a new document with the given title, and style.
|
<D> D |
documentAccept(SDocumentVisitor<D> v)
Accept a document visitor.
|
static SDocumentWithSections |
documentContents(SDocumentTitle in_title,
SNonEmptyList<SSection> in_content)
Construct a new document with the given title, and table of contents.
|
static SDocumentWithSections |
documentStyle(SDocumentTitle in_title,
SDocumentStyle in_style,
SNonEmptyList<SSection> in_content)
Construct a new document with the given title.
|
static SDocumentWithSections |
documentStyleContents(SDocumentTitle in_title,
SDocumentStyle in_style,
SNonEmptyList<SSection> in_content)
Construct a new document with the given title, style, and table of
contents.
|
boolean |
equals(Object obj) |
SNonEmptyList<SSection> |
getSections() |
int |
hashCode() |
getContents, getStyle, getTitlepublic static SDocumentWithSections document(SDocumentTitle in_title, SNonEmptyList<SSection> in_content)
in_title - The titlein_content - The sectionspublic static SDocumentWithSections documentContents(SDocumentTitle in_title, SNonEmptyList<SSection> in_content)
in_title - The titlein_content - The sectionspublic static SDocumentWithSections documentStyle(SDocumentTitle in_title, SDocumentStyle in_style, SNonEmptyList<SSection> in_content)
in_title - The titlein_style - The stylein_content - The sectionspublic static SDocumentWithSections documentStyleContents(SDocumentTitle in_title, SDocumentStyle in_style, SNonEmptyList<SSection> in_content)
in_title - The titlein_style - The stylein_content - The sectionspublic <D> D documentAccept(SDocumentVisitor<D> v) throws Exception
SDocumentdocumentAccept in class SDocumentD - The type of transformed SDocumentsv - The visitorException - If the visitor raises an Exceptionpublic SNonEmptyList<SSection> getSections()
Copyright © 2014 <code@io7m.com> http://io7m.com