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.jaux.functional.Option<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.
|
@Nonnull public static STable table(@Nonnull STableSummary in_summary, @Nonnull STableBody in_body) throws com.io7m.jaux.Constraints.ConstraintError
in_summary - The summaryin_body - The bodycom.io7m.jaux.Constraints.ConstraintError - If any parameter is null@Nonnull public static STable tableHeader(@Nonnull STableSummary in_summary, @Nonnull STableHead in_head, @Nonnull STableBody in_body) throws com.io7m.jaux.Constraints.ConstraintError
in_head - The headerin_summary - The summaryin_body - The bodycom.io7m.jaux.Constraints.ConstraintError - If any parameter is nullpublic <A> A formalItemContentAccept(@Nonnull SFormalItemContentVisitor<A> v) throws com.io7m.jaux.Constraints.ConstraintError, Exception
SFormalItemContentformalItemContentAccept in interface SFormalItemContentA - The type of values returned by the visitorv - The visitorcom.io7m.jaux.Constraints.ConstraintError - If the visitor raises a Constraints.ConstraintErrorException - If the visitor raises and Exception@Nonnull public STableBody getBody()
@Nonnull public com.io7m.jaux.functional.Option<STableHead> getHeader()
@Nonnull public STableSummary getSummary()
public <A> A paragraphContentAccept(@Nonnull SParagraphContentVisitor<A> v) throws com.io7m.jaux.Constraints.ConstraintError, Exception
SParagraphContentparagraphContentAccept in interface SParagraphContentA - The type of values returned by the visitorv - The visitorcom.io7m.jaux.Constraints.ConstraintError - If the visitor raises a Constraints.ConstraintErrorException - If the visitor raises and ExceptionCopyright © 2014. All rights reserved.