Package groovy.lang.groovydoc

# Class GroovydocTag

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

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

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `GroovydocTag(String name, String content, Groovydoc groovydoc)`
  Creates a tag backed by the supplied groovydoc.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `equals(Object o)`
  `String`
  `getContent()`
  Returns the tag content.
  `Groovydoc`
  `getGroovydoc()`
  Returns the owning groovydoc.
  `String`
  `getName()`
  Returns the tag name.
  `int`
  `hashCode()`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## 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`