Class PromoteDemoteSectionUtil


  • @API(type=INTERNAL,
         src=PUBLIC)
    public class PromoteDemoteSectionUtil
    extends java.lang.Object
    Utility class for promote/demote actions for Docbook.
    • Constructor Detail

      • PromoteDemoteSectionUtil

        public PromoteDemoteSectionUtil()
    • 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)
        Returns true if the sect node contains a "sect5" element.
        Parameters:
        sectionElement - The sect node.
        Returns:
        true if the sect node contains a "sect5" element.