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 enumPromote/demote section action. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleannodeContainsSect5Element(AuthorElementBaseInterface sectionElement) Returnstrueif the sect node contains a "sect5" element.static voidprocessPromoteDemote(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
Returnstrueif the sect node contains a "sect5" element.- Parameters:
sectionElement- The sect node.- Returns:
trueif the sect node contains a "sect5" element.
-