@Immutable public final class SAText extends Object implements SAParagraphContent, SALinkContent, SAListItemContent, SAFootnoteContent, SATableCellContent
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
<A> A |
footnoteContentAccept(SAFootnoteContentVisitor<A> v)
Accept a footnote content visitor.
|
String |
getText() |
int |
hashCode() |
<A> A |
linkContentAccept(SALinkContentVisitor<A> v)
Accept a link content visitor.
|
<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(@Nonnull SAFootnoteContentVisitor<A> v) throws com.io7m.jaux.Constraints.ConstraintError, Exception
SAFootnoteContentfootnoteContentAccept in interface SAFootnoteContentA - 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 Exceptionpublic <A> A linkContentAccept(@Nonnull SALinkContentVisitor<A> v) throws com.io7m.jaux.Constraints.ConstraintError, Exception
SALinkContentlinkContentAccept in interface SALinkContentA - 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 Exceptionpublic <A> A listItemContentAccept(@Nonnull SAListItemContentVisitor<A> v) throws com.io7m.jaux.Constraints.ConstraintError, Exception
SAListItemContentlistItemContentAccept in interface SAListItemContentA - 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 Exceptionpublic <A> A paragraphContentAccept(@Nonnull SAParagraphContentVisitor<A> v) throws com.io7m.jaux.Constraints.ConstraintError, Exception
SAParagraphContentparagraphContentAccept in interface SAParagraphContentA - 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 Exceptionpublic <A> A tableCellContentAccept(@Nonnull SATableCellContentVisitor<A> v) throws com.io7m.jaux.Constraints.ConstraintError, Exception
SATableCellContenttableCellContentAccept in interface SATableCellContentA - 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.