Expand description
Types and data structures for EPUB processing
This module defines all the core data structures used throughout the EPUB library. These structures represent the various components of an EPUB publication according to the EPUB specification, including metadata, manifest items, spine items, navigation points, and encryption information.
The types in this module are designed to be compatible with both EPUB 2 and EPUB 3 specifications, providing a unified interface for working with different versions of EPUB publications.
§Main Components
- MetadataItem - Represents metadata entries in the publication
- MetadataRefinement - Additional details for metadata items (EPUB 3.x)
- MetadataLinkItem - Links to external metadata resources
- ManifestItem - Resources declared in the publication manifest
- SpineItem - Items defining the reading order
- NavPoint - Navigation points in the table of contents
- EncryptionData - Information about encrypted resources
§Builder Pattern
Many of these types implement a builder pattern for easier construction when the
builder feature is enabled. See individual type documentation for details.
Structs§
- Encryption
Data - Represents encryption information for EPUB resources
- Manifest
Item - Represents a resource item declared in the EPUB manifest
- Metadata
Item - Represents a metadata item in the EPUB publication
- Metadata
Link Item - Represents a metadata link item in an EPUB publication
- Metadata
Refinement - Represents a refinement of a metadata item in an EPUB 3.0 publication
- NavPoint
- Represents a navigation point in an EPUB document’s table of contents
- Spine
Item - Represents an item in the EPUB spine, defining the reading order of the publication
Enums§
- Epub
Version - Represents the EPUB version