public abstract class SADocument extends Object implements SASegmentsReadable
| Modifier | Constructor and Description |
|---|---|
protected |
SADocument(SAIDMap in_ids,
SADocumentTitle in_title,
com.io7m.jaux.functional.Option<SDocumentContents> in_contents,
com.io7m.jaux.functional.Option<SDocumentStyle> in_style,
List<SAFootnote> in_footnotes,
SAFormalItemsByKind in_formals) |
| Modifier and Type | Method and Description |
|---|---|
abstract <A> A |
documentAccept(SADocumentVisitor<A> v)
Accept a document visitor.
|
boolean |
equals(Object obj) |
com.io7m.jaux.functional.Option<SDocumentContents> |
getContents() |
List<SAFootnote> |
getFootnotes() |
SAFormalItemsByKindReadable |
getFormals() |
SAIDMapReadable |
getIDMappings() |
abstract com.io7m.jaux.functional.Option<SASection> |
getSection(SASectionNumber n) |
com.io7m.jaux.functional.Option<SDocumentStyle> |
getStyle() |
SADocumentTitle |
getTitle() |
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitsegmentGetFirst, segmentGetNext, segmentGetPrevious, segmentGetUpprotected SADocument(@Nonnull SAIDMap in_ids, @Nonnull SADocumentTitle in_title, @Nonnull com.io7m.jaux.functional.Option<SDocumentContents> in_contents, @Nonnull com.io7m.jaux.functional.Option<SDocumentStyle> in_style, @Nonnull List<SAFootnote> in_footnotes, @Nonnull SAFormalItemsByKind in_formals) throws com.io7m.jaux.Constraints.ConstraintError
com.io7m.jaux.Constraints.ConstraintErrorpublic abstract <A> A documentAccept(@Nonnull SADocumentVisitor<A> v) throws com.io7m.jaux.Constraints.ConstraintError, Exception
@Nonnull public final com.io7m.jaux.functional.Option<SDocumentContents> getContents()
@Nonnull public final List<SAFootnote> getFootnotes()
@Nonnull public final SAFormalItemsByKindReadable getFormals()
@Nonnull public final SAIDMapReadable getIDMappings()
public abstract com.io7m.jaux.functional.Option<SASection> getSection(@Nonnull SASectionNumber n) throws com.io7m.jaux.Constraints.ConstraintError
n - The section numbercom.io7m.jaux.Constraints.ConstraintError - If any parameter is null@Nonnull public final com.io7m.jaux.functional.Option<SDocumentStyle> getStyle()
@Nonnull public final SADocumentTitle getTitle()
Copyright © 2014. All rights reserved.