public final class SSectionWithParagraphs extends SSection
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
SNonEmptyList<SSubsectionContent> |
getSectionContent() |
int |
hashCode() |
static SSectionWithParagraphs |
section(SSectionTitle in_title,
SNonEmptyList<SSubsectionContent> in_content)
Create a section with the given title and section content.
|
<S> S |
sectionAccept(SSectionVisitor<S> v)
Accept a section visitor.
|
static SSectionWithParagraphs |
sectionID(SID id,
SSectionTitle in_title,
SNonEmptyList<SSubsectionContent> in_content)
Create a section with the given id, title, and section content.
|
static SSectionWithParagraphs |
sectionTyped(String type,
SSectionTitle in_title,
SNonEmptyList<SSubsectionContent> in_content)
Create a section with the given type, title, and section content.
|
static SSectionWithParagraphs |
sectionTypedID(String type,
SID id,
SSectionTitle in_title,
SNonEmptyList<SSubsectionContent> in_content)
Create a section with the given type, id, title, and section content.
|
static SSectionWithParagraphs |
sectionWithContents(SSectionTitle in_title,
SNonEmptyList<SSubsectionContent> in_content)
Create a section with the given title, section content, and with a table
of contents.
|
static SSectionWithParagraphs |
sectionWithContentsID(SID id,
SSectionTitle in_title,
SNonEmptyList<SSubsectionContent> in_content)
Create a section with the given id, title, section content, and with a
table of contents.
|
static SSectionWithParagraphs |
sectionWithContentsTyped(String type,
SSectionTitle in_title,
SNonEmptyList<SSubsectionContent> in_content)
Create a section with the given type, title, section content, and with a
table of contents.
|
static SSectionWithParagraphs |
sectionWithContentsTypedID(String type,
SID id,
SSectionTitle in_title,
SNonEmptyList<SSubsectionContent> in_content)
Create a section with the given type, id, title, section content, and
with a table of contents.
|
getContents, getID, getTitle, getTypepublic static SSectionWithParagraphs section(SSectionTitle in_title, SNonEmptyList<SSubsectionContent> in_content)
in_title - The titlein_content - The section contentpublic static SSectionWithParagraphs sectionID(SID id, SSectionTitle in_title, SNonEmptyList<SSubsectionContent> in_content)
id - The IDin_title - The titlein_content - The section contentpublic static SSectionWithParagraphs sectionTyped(String type, SSectionTitle in_title, SNonEmptyList<SSubsectionContent> in_content)
type - The typein_title - The titlein_content - The section contentpublic static SSectionWithParagraphs sectionTypedID(String type, SID id, SSectionTitle in_title, SNonEmptyList<SSubsectionContent> in_content)
type - The typeid - The IDin_title - The titlein_content - The section contentpublic static SSectionWithParagraphs sectionWithContents(SSectionTitle in_title, SNonEmptyList<SSubsectionContent> in_content)
in_title - The titlein_content - The section contentpublic static SSectionWithParagraphs sectionWithContentsID(SID id, SSectionTitle in_title, SNonEmptyList<SSubsectionContent> in_content)
id - The IDin_title - The titlein_content - The section contentpublic static SSectionWithParagraphs sectionWithContentsTyped(String type, SSectionTitle in_title, SNonEmptyList<SSubsectionContent> in_content)
type - The typein_title - The titlein_content - The section contentpublic static SSectionWithParagraphs sectionWithContentsTypedID(String type, SID id, SSectionTitle in_title, SNonEmptyList<SSubsectionContent> in_content)
type - The typeid - The IDin_title - The titlein_content - The section contentpublic SNonEmptyList<SSubsectionContent> getSectionContent()
public <S> S sectionAccept(SSectionVisitor<S> v) throws Exception
SSectionsectionAccept in class SSectionS - The type of transformed SSectionsv - The visitorException - If the visitor raises an ExceptionCopyright © 2014 <code@io7m.com> http://io7m.com