Package ch.so.agi.hop.doclint.doc
Class AsciiDocPage
java.lang.Object
ch.so.agi.hop.doclint.doc.AsciiDocPage
Minimal AsciiDoc reader for the doclint contract: document attributes and level-2 sections.
This is intentionally not a full AsciiDoc parser. The linter only needs the contract attributes and whether a required section has readable content.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanTrue when the page declares the given explicit anchor ([[id]]or[#id]).booleanhasSection(String name) booleanhasSectionContent(String name) True when the section exists and contains at least one readable line.static AsciiDocPagestatic AsciiDocPage
-
Method Details
-
read
- Throws:
IOException
-
parse
-
attribute
-
hasSection
-
hasAnchor
True when the page declares the given explicit anchor ([[id]]or[#id]). -
hasSectionContent
True when the section exists and contains at least one readable line.
-