Package ro.sync.ecss.dita.topic.ref
Class ExpandableTopicrefCounter
- java.lang.Object
-
- ro.sync.ecss.dita.topic.ref.ExpandableTopicrefCounter
-
@API(type=INTERNAL, src=PUBLIC) public class ExpandableTopicrefCounter extends java.lang.Object
Class that counts the number of expandable topic references.
-
-
Constructor Summary
Constructors Constructor Description ExpandableTopicrefCounter(AuthorAccess authorAccess)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getNumberOfReferencesToExpand()
static int
getTopicRefsLimit()
-
-
-
Constructor Detail
-
ExpandableTopicrefCounter
public ExpandableTopicrefCounter(AuthorAccess authorAccess)
- Parameters:
authorAccess
- The author access.
-
-
Method Detail
-
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.
-
-