GspTagSourceMacro (Grails 6.0.0)

Package: grails.doc.macros

## [Groovy] Class GspTagSourceMacro

- grails.doc.macros.GspTagSourceMacro

- All Implemented Interfaces and Traits:
    java.io.Serializable

      class GspTagSourceMacro
      extends org.radeox.macro.BaseMacro
      implements java.io.Serializable

- - ### Field Summary

    Fields
    Modifiers | Name | Description
    --- | --- | ---
    `private java.util.List` | `baseDirs` |
    `protected java.lang.String` | `description` |
    `protected java.lang.String[]` | `paramDescription` |
    `private static long` | `serialVersionUID` |

  - ### Properties Summary

    Properties
    Type | Name and description
    --- | ---
    `java.util.List` | `baseDirs`

  - ### Constructor Summary

    Constructors
    Constructor and description
    `GspTagSourceMacro (java.lang.Object basedir)`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `void` | `execute(java.io.Writer out, org.radeox.macro.parameter.MacroParameter params)`
    `` | `java.lang.String` | `extractTagClosureSource(java.lang.String tagName, java.lang.String sourceText)` Extracts the Closure source code for a given tag name.
    `` | `java.lang.String` | `getName()`
    `` | `private java.lang.String` | `substringToClosingBrace(java.lang.String text)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class org.radeox.macro.BaseMacro` | `org.radeox.macro.BaseMacro#getParamDescription(), org.radeox.macro.BaseMacro#setInitialContext(org.radeox.api.engine.context.InitialRenderContext), org.radeox.macro.BaseMacro#getDescription(), org.radeox.macro.BaseMacro#toString(), org.radeox.macro.BaseMacro#compareTo(java.lang.Object), org.radeox.macro.BaseMacro#getName(), org.radeox.macro.BaseMacro#execute(java.io.Writer, org.radeox.macro.parameter.MacroParameter), org.radeox.macro.BaseMacro#wait(long), org.radeox.macro.BaseMacro#wait(long, int), org.radeox.macro.BaseMacro#wait(), org.radeox.macro.BaseMacro#equals(java.lang.Object), org.radeox.macro.BaseMacro#hashCode(), org.radeox.macro.BaseMacro#getClass(), org.radeox.macro.BaseMacro#notify(), org.radeox.macro.BaseMacro#notifyAll()`

- - ### Field Detail

    - #### @org.gradle.api.tasks.Input private java.util.List baseDirs

    - #### @org.gradle.api.tasks.Internal protected java.lang.String description

    - #### @org.gradle.api.tasks.Internal protected java.lang.String[] paramDescription

    - #### private static final long serialVersionUID

  - ### Property Detail

    - #### @org.gradle.api.tasks.Input java.util.List baseDirs

  - ### Constructor Detail

    - #### GspTagSourceMacro(java.lang.Object basedir)

  - ### Method Detail

    - #### void execute(java.io.Writer out, org.radeox.macro.parameter.MacroParameter params)

    - #### java.lang.String extractTagClosureSource(java.lang.String tagName, java.lang.String sourceText)

      Extracts the Closure source code for a given tag name.

      Parameters:
        `tagName` - name of the tag method to extract the source code for
        `sourceText` - the source code to search
      Returns:
        source code for the tag Closure or an empty string if not found

    - #### @org.gradle.api.tasks.Input java.lang.String getName()

    - #### private java.lang.String substringToClosingBrace(java.lang.String text)