@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 SAText(String in_text)
in_text
- The textpublic <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 String getText()
public <A> A linkContentAccept(SALinkContentVisitor<A> v) throws Exception
SALinkContent
linkContentAccept
in interface SALinkContent
A
- The type of values returned by the visitorv
- The visitorException
- If the visitor raises and Exception
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