Class SimpleGroovyTag

java.lang.Object
org.codehaus.groovy.tools.groovydoc.SimpleGroovyTag
All Implemented Interfaces:
GroovyTag

public class SimpleGroovyTag extends Object implements GroovyTag
Stores info about GroovyDoc tags.
  • Constructor Details

    • SimpleGroovyTag

      public SimpleGroovyTag(String name, String param, String text)
      Creates a stored tag representation.
      Parameters:
      name - the tag name
      param - the optional tag parameter
      text - the tag body text
  • Method Details

    • name

      public String name()
      The tag name, e.g. "deprecated", "param", "see" or "author".
      Specified by:
      name in interface GroovyTag
    • param

      public String param()
      The optional parameter for tags like "throws" and "param".
      Specified by:
      param in interface GroovyTag
    • text

      public String text()
      The text associated with the tag.
      Specified by:
      text in interface GroovyTag