Package nl.siegmann.epublib.domain
Class TOCReference
java.lang.Object
nl.siegmann.epublib.domain.ResourceReference
nl.siegmann.epublib.domain.TitledResourceReference
nl.siegmann.epublib.domain.TOCReference
- All Implemented Interfaces:
Serializable
An item in the Table of Contents.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate List<TOCReference> private static final Comparator<TOCReference> private static final longFields inherited from class nl.siegmann.epublib.domain.ResourceReference
resource -
Constructor Summary
ConstructorsConstructorDescriptionTOCReference(String name, Resource resource) TOCReference(String name, Resource resource, String fragmentId) TOCReference(String title, Resource resource, String fragmentId, List<TOCReference> children) -
Method Summary
Modifier and TypeMethodDescriptionaddChildSection(TOCReference childSection) static Comparator<TOCReference> voidsetChildren(List<TOCReference> children) Methods inherited from class nl.siegmann.epublib.domain.TitledResourceReference
getCompleteHref, getFragmentId, getTitle, setFragmentId, setResource, setResource, setTitleMethods inherited from class nl.siegmann.epublib.domain.ResourceReference
getResource, getResourceId
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
children
-
COMPARATOR_BY_TITLE_IGNORE_CASE
-
-
Constructor Details
-
TOCReference
public TOCReference() -
TOCReference
-
TOCReference
-
TOCReference
public TOCReference(String title, Resource resource, String fragmentId, List<TOCReference> children)
-
-
Method Details
-
getComparatorByTitleIgnoreCase
-
getChildren
-
addChildSection
-
setChildren
-