@Immutable public final class SALink extends Object implements SAParagraphContent, SAListItemContent, SAFootnoteContent, SATableCellContent
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
<A> A |
footnoteContentAccept(SAFootnoteContentVisitor<A> v)
Accept a footnote content visitor.
|
SNonEmptyList<SALinkContent> |
getContent() |
String |
getTarget() |
int |
hashCode() |
<A> A |
listItemContentAccept(SAListItemContentVisitor<A> v)
Accept a list item content visitor.
|
<A> A |
paragraphContentAccept(SAParagraphContentVisitor<A> v)
Accept a paragraph content visitor.
|
<A> A |
tableCellContentAccept(SATableCellContentVisitor<A> v)
Accept a table cell content visitor.
|
public <A> A footnoteContentAccept(SAFootnoteContentVisitor<A> v) throws Exception
SAFootnoteContent
footnoteContentAccept
in interface SAFootnoteContent
A
- The type of values returned by the visitorv
- The visitorException
- If the visitor raises and Exception
public SNonEmptyList<SALinkContent> getContent()
public String getTarget()
public <A> A listItemContentAccept(SAListItemContentVisitor<A> v) throws Exception
SAListItemContent
listItemContentAccept
in interface SAListItemContent
A
- The type of values returned by the visitorv
- The visitorException
- If the visitor raises and Exception
public <A> A paragraphContentAccept(SAParagraphContentVisitor<A> v) throws Exception
SAParagraphContent
paragraphContentAccept
in interface SAParagraphContent
A
- The type of values returned by the visitorv
- The visitorException
- If the visitor raises and Exception
public <A> A tableCellContentAccept(SATableCellContentVisitor<A> v) throws Exception
SATableCellContent
tableCellContentAccept
in interface SATableCellContent
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