public final class SListUnordered extends Object implements SListItemContent, SFootnoteContent, SParagraphContent, SFormalItemContent, STableCellContent
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
<A> A |
footnoteContentAccept(SFootnoteContentVisitor<A> v)
Accept a footnote content visitor.
|
<A> A |
formalItemContentAccept(SFormalItemContentVisitor<A> v)
Accept a formal item content visitor.
|
SNonEmptyList<SListItem> |
getItems() |
com.io7m.jfunctional.OptionType<String> |
getType() |
int |
hashCode() |
static SListUnordered |
list(SNonEmptyList<SListItem> content)
Construct a new list.
|
<A> A |
listItemContentAccept(SListItemContentVisitor<A> v)
Accept a list item content visitor.
|
static SListUnordered |
listTyped(String type,
SNonEmptyList<SListItem> content)
Construct a new list item with a type attribute.
|
<A> A |
paragraphContentAccept(SParagraphContentVisitor<A> v)
Accept a paragraph content visitor.
|
<A> A |
tableCellContentAccept(STableCellContentVisitor<A> v)
Accept a table cell content visitor.
|
public static SListUnordered list(SNonEmptyList<SListItem> content)
content - The list content.public static SListUnordered listTyped(String type, SNonEmptyList<SListItem> content)
type - The type attributecontent - The list content.public <A> A footnoteContentAccept(SFootnoteContentVisitor<A> v) throws Exception
SFootnoteContentfootnoteContentAccept in interface SFootnoteContentA - The type of values returned by the visitorv - The visitorException - If the visitor raises and Exceptionpublic <A> A formalItemContentAccept(SFormalItemContentVisitor<A> v) throws Exception
SFormalItemContentformalItemContentAccept in interface SFormalItemContentA - The type of values returned by the visitorv - The visitorException - If the visitor raises and Exceptionpublic SNonEmptyList<SListItem> getItems()
public com.io7m.jfunctional.OptionType<String> getType()
public <A> A listItemContentAccept(SListItemContentVisitor<A> v) throws Exception
SListItemContentlistItemContentAccept in interface SListItemContentA - The type of values returned by the visitorv - The visitorException - If the visitor raises and Exceptionpublic <A> A paragraphContentAccept(SParagraphContentVisitor<A> v) throws Exception
SParagraphContentparagraphContentAccept in interface SParagraphContentA - The type of values returned by the visitorv - The visitorException - If the visitor raises and Exceptionpublic <A> A tableCellContentAccept(STableCellContentVisitor<A> v) throws Exception
STableCellContenttableCellContentAccept in interface STableCellContentA - The type of values returned by the visitorv - The visitorException - If the visitor raises and ExceptionCopyright © 2014 <code@io7m.com> http://io7m.com