org.encog.bot.dataunit

## Class TagDataUnit

- java.lang.Object
- - org.encog.bot.dataunit.DataUnit
  - - org.encog.bot.dataunit.TagDataUnit

-     public class TagDataUnit
      extends DataUnit

  A data unit that holds a tag.
  Author:
    jheaton

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TagDataUnit()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Tag` | `getTag()`
    `void` | `setTag(Tag theTag)` Set the tag that this data unit is based on.
    `String` | `toString()`

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

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

- - ### Constructor Detail

    - #### TagDataUnit

          public TagDataUnit()

  - ### Method Detail

    - #### getTag

          public final Tag getTag()

      Returns:
        The tag that this data unit is based on.

    - #### setTag

          public final void setTag(Tag theTag)

      Set the tag that this data unit is based on.
      Parameters:
        `theTag` - HTML theTag.

    - #### toString

          public final String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2014. All Rights Reserved.