namespace VersOne.Epub.Schema { /// /// /// Navigation element which represents a heading, structure or other item of interest for navigation purposes within /// (represented by the <li> HTML tag in the navigation document). /// /// See for more information. /// public class Epub3NavLi { /// /// Initializes a new instance of the class. /// /// /// The navigation link associated with the navigation element (represented by the <a> HTML tag in the navigation document) /// or null if the navigation element doesn't contain a link. /// /// /// The navigation header associated with the navigation element (represented by the <span> HTML tag in the navigation document) /// or null if the navigation element doesn't contain a header. /// /// /// The navigation sub-level within the navigation element (represented by the <ol> HTML tag in the navigation document) /// or null if the navigation element doesn't contain a sub-level. /// public Epub3NavLi(Epub3NavAnchor? anchor = null, Epub3NavSpan? span = null, Epub3NavOl? childOl = null) { Anchor = anchor; Span = span; ChildOl = childOl; } /// /// /// Gets the navigation link associated with the navigation element (represented by the <a> HTML tag in the navigation document) /// or null if the navigation element doesn't contain a link. /// /// See for more information. /// public Epub3NavAnchor? Anchor { get; } /// /// /// Gets the navigation header associated with the navigation element (represented by the <span> HTML tag in the navigation document) /// or null if the navigation element doesn't contain a header. /// /// See for more information. /// public Epub3NavSpan? Span { get; } /// /// /// Gets the navigation sub-level within the navigation element (represented by the <ol> HTML tag in the navigation document) /// or null if the navigation element doesn't contain a sub-level. /// /// See for more information. /// public Epub3NavOl? ChildOl { get; } } }