Package | Description |
---|---|
nl.siegmann.epublib.domain |
Modifier and Type | Method and Description |
---|---|
TOCReference |
TOCReference.addChildSection(TOCReference childSection) |
TOCReference |
TableOfContents.addSection(Resource resource,
int[] pathElements,
String sectionTitlePrefix,
String sectionNumberSeparator)
Adds the given Resources to the TableOfContents at the location specified by the pathElements.
|
TOCReference |
TableOfContents.addSection(Resource resource,
String path)
Calls addTOCReferenceAtLocation after splitting the path using the DEFAULT_PATH_SEPARATOR.
|
TOCReference |
TableOfContents.addSection(Resource resource,
String[] pathElements)
Adds the given Resources to the TableOfContents at the location specified by the pathElements.
|
TOCReference |
TableOfContents.addSection(Resource resource,
String path,
String pathSeparator)
Calls addTOCReferenceAtLocation after splitting the path using the given pathSeparator.
|
TOCReference |
Book.addSection(String title,
Resource resource)
Adds a resource to the book's set of resources, table of contents and if there is no resource with the id in the spine also adds it to the spine.
|
TOCReference |
Book.addSection(TOCReference parentSection,
String sectionTitle,
Resource resource)
Adds the resource to the table of contents of the book as a child section of the given parentSection
|
TOCReference |
TableOfContents.addTOCReference(TOCReference tocReference) |
Modifier and Type | Method and Description |
---|---|
List<TOCReference> |
TOCReference.getChildren() |
static Comparator<TOCReference> |
TOCReference.getComparatorByTitleIgnoreCase() |
List<TOCReference> |
TableOfContents.getTocReferences() |
Modifier and Type | Method and Description |
---|---|
TOCReference |
TOCReference.addChildSection(TOCReference childSection) |
TOCReference |
Book.addSection(TOCReference parentSection,
String sectionTitle,
Resource resource)
Adds the resource to the table of contents of the book as a child section of the given parentSection
|
TOCReference |
TableOfContents.addTOCReference(TOCReference tocReference) |
Modifier and Type | Method and Description |
---|---|
void |
TOCReference.setChildren(List<TOCReference> children) |
void |
TableOfContents.setTocReferences(List<TOCReference> tocReferences) |
Constructor and Description |
---|
TableOfContents(List<TOCReference> tocReferences) |
TOCReference(String title,
Resource resource,
String fragmentId,
List<TOCReference> children) |
Copyright © 2009–2017. All rights reserved.