com.h3c.util

## Class HTMLUtils.Span

- java.lang.Object
- - com.h3c.util.WebUtils.Tag
  - - com.h3c.util.HTMLUtils.HTMLTag
    - - com.h3c.util.HTMLUtils.Span

- Enclosing class:
    HTMLUtils

      public static class HTMLUtils.Span
      extends HTMLUtils.HTMLTag

  HTML span tag.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `HTMLUtils.Span(String spanClass)` Creates a new HTML span tag with the specified ID attribute.
    `HTMLUtils.Span(String spanClass, String content)` Creates a new HTML span tag with the specified ID attribute and content.

  - ### Method Summary

    - ### Methods inherited from class com.h3c.util.HTMLUtils.HTMLTag

      `add, add, attr`

    - ### Methods inherited from class com.h3c.util.WebUtils.Tag

      `addCData, addContent, addContent, addContent, addContent, attr, hasContent, noShorthand, toString`

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

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

- - ### Constructor Detail

    - #### HTMLUtils.Span

          public HTMLUtils.Span(String spanClass)

      Creates a new HTML span tag with the specified ID attribute.
      Parameters:
        `spanClass` - value of the span class attribute

    - #### HTMLUtils.Span

          public HTMLUtils.Span(String spanClass,
                        String content)

      Creates a new HTML span tag with the specified ID attribute and content.
      Parameters:
        `spanClass` - value of the span class attribute
        `content` - text content

Copyright © 2014. All Rights Reserved.