@Immutable public final class SDocumentWithParts extends SDocument
| Modifier and Type | Method and Description |
|---|---|
static SDocumentWithParts |
document(SDocumentTitle in_title,
SNonEmptyList<SPart> in_content)
Construct a new document with the given title, and style.
|
<D> D |
documentAccept(SDocumentVisitor<D> v)
Accept a document visitor.
|
static SDocumentWithParts |
documentContents(SDocumentTitle in_title,
SNonEmptyList<SPart> in_content)
Construct a new document with the given title, and table of contents.
|
static SDocumentWithParts |
documentStyle(SDocumentTitle in_title,
SDocumentStyle in_style,
SNonEmptyList<SPart> in_content)
Construct a new document with the given title.
|
static SDocumentWithParts |
documentStyleContents(SDocumentTitle in_title,
SDocumentStyle in_style,
SNonEmptyList<SPart> in_content)
Construct a new document with the given title, style, and table of
contents.
|
boolean |
equals(Object obj) |
SNonEmptyList<SPart> |
getParts() |
int |
hashCode() |
getContents, getStyle, getTitlepublic static SDocumentWithParts document(SDocumentTitle in_title, SNonEmptyList<SPart> in_content)
in_title - The titlein_content - The sectionspublic static SDocumentWithParts documentContents(SDocumentTitle in_title, SNonEmptyList<SPart> in_content)
in_title - The titlein_content - The sectionspublic static SDocumentWithParts documentStyle(SDocumentTitle in_title, SDocumentStyle in_style, SNonEmptyList<SPart> in_content)
in_title - The titlein_style - The stylein_content - The sectionspublic static SDocumentWithParts documentStyleContents(SDocumentTitle in_title, SDocumentStyle in_style, SNonEmptyList<SPart> in_content)
in_title - The titlein_style - The stylein_content - The sectionspublic <D> D documentAccept(SDocumentVisitor<D> v) throws Exception
SDocumentdocumentAccept in class SDocumentD - The type of transformed SDocumentsv - The visitorException - If the visitor raises an Exceptionpublic SNonEmptyList<SPart> getParts()
Copyright © 2015 <code@io7m.com> http://io7m.com