Interface TagBase

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String toHtmlString​()
      gets the html string of the tag including the child tags/values.
      java.lang.String toHtmlString​(boolean rebuild)
      rebuilds the html string of the tag including the child tags/values if parameter is true, otherwise returns the html string prebuilt and kept in the cache.
      java.lang.String toHtmlString​(boolean rebuild, java.lang.String charset)
      rebuilds the html string of the tag including the child tags/values if parameter is true, otherwise returns the html string prebuilt and kept in the cache.
      java.lang.String toHtmlString​(boolean rebuild, java.nio.charset.Charset charset)
      rebuilds the html string of the tag including the child tags/values if parameter is true, otherwise returns the html string prebuilt and kept in the cache.
      java.lang.String toHtmlString​(java.lang.String charset)
      gets the html string of the tag including the child tags/values using the given charset.
      java.lang.String toHtmlString​(java.nio.charset.Charset charset)
      gets the html string of the tag including the child tags/values using the given charset.
      java.lang.String toString​()
      gets the html string of the tag including the child tags/values.
    • Method Detail

      • toHtmlString

        java.lang.String toHtmlString​()
        gets the html string of the tag including the child tags/values. rebuilds the html string if the child tags/values or attributes have been modified.
        Returns:
        String equalent to the html string of the tag including the child tags.
        Since:
        1.0.0
      • toHtmlString

        java.lang.String toHtmlString​(java.nio.charset.Charset charset)
        gets the html string of the tag including the child tags/values using the given charset. rebuilds the html string if the child tags/values or attributes have been modified.
        Parameters:
        the - charset to set for the returning value, eg: StandardCharsets.UTF_8
        Returns:
        String equalent to the html string of the tag including the child tags.
        Since:
        1.0.0
      • toHtmlString

        java.lang.String toHtmlString​(java.lang.String charset)
        gets the html string of the tag including the child tags/values using the given charset. rebuilds the html string if the child tags/values or attributes have been modified.
        Parameters:
        the - charset to set for the returning value, eg: StandardCharsets.UTF_8.name()
        Returns:
        String equalent to the html string of the tag including the child tags.
        Since:
        1.0.0
      • toHtmlString

        java.lang.String toHtmlString​(boolean rebuild)
        rebuilds the html string of the tag including the child tags/values if parameter is true, otherwise returns the html string prebuilt and kept in the cache.
        Parameters:
        rebuild - true to rebuild & false to return previously built string.
        Returns:
        String equalent to the html string of the tag including the child tags.
        Since:
        1.0.0
      • toHtmlString

        java.lang.String toHtmlString​(boolean rebuild,
                                      java.nio.charset.Charset charset)
        rebuilds the html string of the tag including the child tags/values if parameter is true, otherwise returns the html string prebuilt and kept in the cache.
        Parameters:
        rebuild - true to rebuild & false to return previously built string.
        the - charset to set for the returning value, eg: StandardCharsets.UTF_8
        Returns:
        String equalent to the html string of the tag including the child tags.
        Since:
        1.0.0
      • toHtmlString

        java.lang.String toHtmlString​(boolean rebuild,
                                      java.lang.String charset)
        rebuilds the html string of the tag including the child tags/values if parameter is true, otherwise returns the html string prebuilt and kept in the cache.
        Parameters:
        rebuild - true to rebuild & false to return previously built string.
        the - charset to set for the returning value, eg: StandardCharsets.UTF_8.name()
        Returns:
        String equalent to the html string of the tag including the child tags.
        Since:
        1.0.0
      • toString

        java.lang.String toString​()
        gets the html string of the tag including the child tags/values. rebuilds the html string if the child tags/values or attributes have been modified.
        Overrides:
        toString in class java.lang.Object
        Returns:
        String equalent to the html string of the tag including the child tags.
        Since:
        1.0.0