Class ExpandableTopicrefCounter

java.lang.Object
ro.sync.ecss.dita.topic.ref.ExpandableTopicrefCounter

@API(type=INTERNAL, src=PUBLIC) public class ExpandableTopicrefCounter extends Object
Class that counts the number of expandable topic references.
  • Constructor Details

    • ExpandableTopicrefCounter

      public ExpandableTopicrefCounter(AuthorAccess authorAccess)
      Parameters:
      authorAccess - The author access.
  • Method Details

    • getNumberOfReferencesToExpand

      public int getNumberOfReferencesToExpand() throws AuthorOperationException
      Returns:
      the number of references found in document.
      Throws:
      AuthorOperationException - If it fails.
    • getTopicRefsLimit

      public static int getTopicRefsLimit()
      Returns:
      The maximum number of topic references to expand.