Class PromoteDemoteSectionUtil

java.lang.Object
ro.sync.ecss.extensions.docbook.PromoteDemoteSectionUtil

@API(type=INTERNAL, src=PUBLIC) public class PromoteDemoteSectionUtil extends Object
Utility class for promote/demote actions for Docbook.
  • 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

      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.