Class BaseAnnotation

    • Constructor Detail

      • BaseAnnotation

        public BaseAnnotation()
        Initializes the string with length 0.
      • BaseAnnotation

        public BaseAnnotation​(String s)
        Initializes the object with the string to parse.
        Parameters:
        s - the string to parse
    • Method Detail

      • convert

        protected String convert​(String value)
        Converts the string according to the specified conversion.

        Just resets the located tags.
        Overrides:
        convert in class AbstractBaseString
        Parameters:
        value - the string to convert
        Returns:
        the converted string
      • hasTag

        public boolean hasTag()
        Returns whether at least one tag is present.
        Returns:
        true if tag is present
      • parse

        protected void parse()
        Parses the annotation string, if necessary.
      • getTags

        public List<BaseAnnotation.Tag> getTags()
        Returns the extracted tags from the annotation.
        Returns:
        all the located tags
      • getParts

        public List getParts()
        Returns the building blocks of the annotation, String and Tag objects.
        Returns:
        all the parts of the annotation string
      • getTipText

        public String getTipText()
        Returns a tool tip for the GUI editor (ignored if null is returned).
        Overrides:
        getTipText in class BaseMarkdown
        Returns:
        the tool tip