Class TagAnnotationWrapper

    • Field Detail

      • NS_TAGSET

        public static final String NS_TAGSET
        The name space used to indicate that the tag is used a tag set.
        See Also:
        Constant Field Values
    • Constructor Detail

      • TagAnnotationWrapper

        public TagAnnotationWrapper​(TagAnnotationData tag)
        Constructor of the TagAnnotationWrapper class.
        Parameters:
        tag - TagAnnotationData to wrap.
    • Method Detail

      • getName

        public String getName()
        Gets the tag name.
        Returns:
        See above.
      • setName

        public void setName​(String name)
        Sets the tag name.
        Parameters:
        name - The tag name. Mustn't be null.
        Throws:
        IllegalArgumentException - If the name is null.
      • isTagSet

        public boolean isTagSet()
        Returns whether this tag is a TagSet or not.
        Returns:
        true if this tag is a tag set, false otherwise.
      • toTagSet

        public TagSetWrapper toTagSet()
        Converts this tag annotation to a tag set.
        Returns:
        See above.