Interface IMutableMultiTagHolder
- All Superinterfaces:
IMultiTagHolder
A
IMutableMultiTagHolder is a IMultiTagHolder whose tags can
be added and removed programmatically.- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdds the given tag to the currentIMutableMultiTagHolderif the currentIMutableMultiTagHolderdoes not contain already such a tag.voidRemoves the given tag from the currentIMutableMultiTagHolderif the currentIMutableMultiTagHoldercontains such a tag.voidRemoves all tags from the currentIMutableMultiTagHolder.Methods inherited from interface IMultiTagHolder
getTags
-
Method Details
-
addTag
Adds the given tag to the currentIMutableMultiTagHolderif the currentIMutableMultiTagHolderdoes not contain already such a tag.- Parameters:
tag-- Throws:
RuntimeException- if the given tag is null or blank.
-
removeTag
Removes the given tag from the currentIMutableMultiTagHolderif the currentIMutableMultiTagHoldercontains such a tag.- Parameters:
tag-
-
removeTags
void removeTags()Removes all tags from the currentIMutableMultiTagHolder.
-