@Immutable public final class STable extends Object implements SFormalItemContent, SParagraphContent
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
<A> A |
formalItemContentAccept(SFormalItemContentVisitor<A> v)
Accept a formal item content visitor.
|
STableBody |
getBody() |
com.io7m.jfunctional.OptionType<STableHead> |
getHeader() |
STableSummary |
getSummary() |
int |
hashCode() |
<A> A |
paragraphContentAccept(SParagraphContentVisitor<A> v)
Accept a paragraph content visitor.
|
static STable |
table(STableSummary in_summary,
STableBody in_body)
Construct a new table with the given summary and body.
|
static STable |
tableHeader(STableSummary in_summary,
STableHead in_head,
STableBody in_body)
Construct a new table with the given summary, header, and body.
|
public static STable table(STableSummary in_summary, STableBody in_body)
in_summary
- The summaryin_body
- The bodypublic static STable tableHeader(STableSummary in_summary, STableHead in_head, STableBody in_body)
in_head
- The headerin_summary
- The summaryin_body
- The bodypublic <A> A formalItemContentAccept(SFormalItemContentVisitor<A> v) throws Exception
SFormalItemContent
formalItemContentAccept
in interface SFormalItemContent
A
- The type of values returned by the visitorv
- The visitorException
- If the visitor raises and Exception
public STableBody getBody()
public com.io7m.jfunctional.OptionType<STableHead> getHeader()
public STableSummary getSummary()
public <A> A paragraphContentAccept(SParagraphContentVisitor<A> v) throws Exception
SParagraphContent
paragraphContentAccept
in interface SParagraphContent
A
- The type of values returned by the visitorv
- The visitorException
- If the visitor raises and Exception
Copyright © 2017 <code@io7m.com> http://io7m.com