Class GroovydocTag

java.lang.Object
groovy.lang.groovydoc.GroovydocTag

public class GroovydocTag extends Object
TODO parse groovydoc to get tag content
  • Constructor Details

    • GroovydocTag

      public GroovydocTag(String name, String content, Groovydoc groovydoc)
      Creates a tag backed by the supplied groovydoc.
      Parameters:
      name - the tag name without the leading @
      content - the tag body
      groovydoc - the owning groovydoc
  • Method Details

    • getName

      public String getName()
      Returns the tag name.
      Returns:
      the tag name
    • getContent

      public String getContent()
      Returns the tag content.
      Returns:
      the tag content
    • getGroovydoc

      public Groovydoc getGroovydoc()
      Returns the owning groovydoc.
      Returns:
      the owning groovydoc
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object