@Immutable public final class SLinkExternal extends Object implements SParagraphContent, SListItemContent, SFootnoteContent, STableCellContent
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
<A> A |
footnoteContentAccept(SFootnoteContentVisitor<A> v)
Accept a footnote content visitor.
|
SNonEmptyList<SLinkContent> |
getContent() |
URI |
getTarget() |
int |
hashCode() |
static SLinkExternal |
link(URI target,
SNonEmptyList<SLinkContent> content)
Construct a new external link element.
|
<A> A |
listItemContentAccept(SListItemContentVisitor<A> v)
Accept a list item content visitor.
|
<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 SLinkExternal link(URI target, SNonEmptyList<SLinkContent> content)
target - The targetcontent - The content in the body of the linkpublic <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 SNonEmptyList<SLinkContent> getContent()
public URI getTarget()
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 © 2015 <code@io7m.com> http://io7m.com