public final class SASectionWithParagraphs extends SASection
| Constructor and Description |
|---|
SASectionWithParagraphs(SASectionNumber in_number,
com.io7m.jfunctional.OptionType<String> in_type,
com.io7m.jfunctional.OptionType<SAID> in_id,
SASectionTitle in_title,
com.io7m.jfunctional.OptionType<SSectionContents> in_contents,
SNonEmptyList<SASubsectionContent> in_subsections,
List<SAFootnote> in_footnotes)
Construct a new section with top-level subsection content.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
SNonEmptyList<SASubsectionContent> |
getSectionContent() |
int |
hashCode() |
<A> A |
sectionAccept(SASectionVisitor<A> v)
Accept a section visitor.
|
<T> T |
targetContentAccept(SAIDTargetContentVisitor<T> v)
Accept an ID target content visitor.
|
getContents, getFootnotes, getID, getNumber, getTitle, getTypepublic SASectionWithParagraphs(SASectionNumber in_number, com.io7m.jfunctional.OptionType<String> in_type, com.io7m.jfunctional.OptionType<SAID> in_id, SASectionTitle in_title, com.io7m.jfunctional.OptionType<SSectionContents> in_contents, SNonEmptyList<SASubsectionContent> in_subsections, List<SAFootnote> in_footnotes)
in_number - The section numberin_type - The type attributein_id - The IDin_title - The section titlein_contents - The section table of contentsin_subsections - The subsection contentin_footnotes - The footnotespublic SNonEmptyList<SASubsectionContent> getSectionContent()
public <A> A sectionAccept(SASectionVisitor<A> v) throws Exception
SASectionsectionAccept in class SASectionA - The type of values returned by the visitorv - The visitorException - If the visitor raises an Exceptionpublic <T> T targetContentAccept(SAIDTargetContentVisitor<T> v) throws Exception
SAIDTargetContentCopyright © 2014 <code@io7m.com> http://io7m.com