@Immutable public final class SAImage extends Object implements SAParagraphContent, SALinkContent, SAListItemContent, SAFootnoteContent, SAFormalItemContent, SATableCellContent
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
<A> A |
footnoteContentAccept(SAFootnoteContentVisitor<A> v)
Accept a footnote content visitor.
|
<A> A |
formalItemContentAccept(SAFormalItemContentVisitor<A> v)
Accept a formal item content visitor.
|
com.io7m.jaux.functional.Option<Integer> |
getHeight() |
String |
getText() |
com.io7m.jaux.functional.Option<String> |
getType() |
URI |
getURI() |
com.io7m.jaux.functional.Option<Integer> |
getWidth() |
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 formalItemContentAccept(@Nonnull SAFormalItemContentVisitor<A> v) throws com.io7m.jaux.Constraints.ConstraintError, Exception
SAFormalItemContentformalItemContentAccept in interface SAFormalItemContentA - 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 Exception@Nonnull public com.io7m.jaux.functional.Option<Integer> getHeight()
@Nonnull public com.io7m.jaux.functional.Option<String> getType()
@Nonnull public com.io7m.jaux.functional.Option<Integer> getWidth()
public <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.