GspTagSourceMacro (Grails 3.2.3)
Date: 2016-11-10

Package: grails.doc.macros

## [Groovy] Class GspTagSourceMacro

- grails.doc.macros.GspTagSourceMacro

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

  - ### Inherited Methods Summary

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

- - ### Property Detail

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

    - #### java.lang.String getName()