Package uk.ac.starlink.ttools.build
Class MemberIdSet
java.lang.Object
uk.ac.starlink.ttools.build.MemberIdSet
Set of identifiers used for class members during documentation.
- Since:
- 23 Jan 2023
- Author:
- Mark Taylor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetUniqueId
(String text) Returns an identifier not yet used for a given text string if possible.
-
Constructor Details
-
MemberIdSet
public MemberIdSet()Constructor.
-
-
Method Details
-
getUniqueId
Returns an identifier not yet used for a given text string if possible. The return value is syntactically an XML identifier based on the input, and is different from all previous returns from this method of this class. If the presented text has been presented before, null is returned.- Parameters:
text
- input string- Returns:
- XML-friendy identifier, or null
-