Package ro.sync.ecss.extensions.docbook
Class PromoteDemoteSectionUtil
- java.lang.Object
-
- ro.sync.ecss.extensions.docbook.PromoteDemoteSectionUtil
-
@API(type=INTERNAL, src=PUBLIC) public class PromoteDemoteSectionUtil extends java.lang.Object
Utility class for promote/demote actions for Docbook.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PromoteDemoteSectionUtil.PromoteDemote
Promote/demote section action.
-
Constructor Summary
Constructors Constructor Description PromoteDemoteSectionUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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.
-
-
-
Method Detail
-
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
public static boolean nodeContainsSect5Element(AuthorElementBaseInterface sectionElement)
Returnstrue
if the sect node contains a "sect5" element.- Parameters:
sectionElement
- The sect node.- Returns:
true
if the sect node contains a "sect5" element.
-
-