Package ro.sync.ecss.extensions.docbook
Class PromoteDemoteSectionUtil
java.lang.Object
ro.sync.ecss.extensions.docbook.PromoteDemoteSectionUtil
Utility class for promote/demote actions for Docbook.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Promote/demote section action. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
nodeContainsSect5Element
(AuthorElementBaseInterface sectionElement) Returnstrue
if the sect node contains a "sect5" element.static void
processPromoteDemote
(AuthorAccess authorAccess, PromoteDemoteSectionUtil.PromoteDemote action) Executes the promote/demote section action.
-
Constructor Details
-
PromoteDemoteSectionUtil
public PromoteDemoteSectionUtil()
-
-
Method Details
-
processPromoteDemote
public static void processPromoteDemote(AuthorAccess authorAccess, PromoteDemoteSectionUtil.PromoteDemote action) Executes the promote/demote section action.- Parameters:
authorAccess
- The author access.action
- The promote/demote action.
-
nodeContainsSect5Element
Returnstrue
if the sect node contains a "sect5" element.- Parameters:
sectionElement
- The sect node.- Returns:
true
if the sect node contains a "sect5" element.
-