Class NoTag

  • All Implemented Interfaces:
    TagBase, java.io.Serializable, java.lang.Cloneable
    Direct Known Subclasses:
    Blank


    public class NoTag
    extends AbstractHtml
    It's a tag which makes child content without any opening closing tag.
    Since:
    1.0.0
    See Also:
    Serialized Form
    • Constructor Detail

      • NoTag

        public NoTag​(AbstractHtml base,
                     AbstractHtml... children)
        Parameters:
        base - i.e. parent tag of this tag
        children - An array of AbstractHtml
        Since:
        1.0.0
      • NoTag

        public NoTag​(AbstractHtml base,
                     java.util.Collection<? extends AbstractHtml> children)
        Parameters:
        base - i.e. parent tag of this tag
        children - An array of AbstractHtml
        Since:
        1.0.0
      • NoTag

        public NoTag​(AbstractHtml base,
                     java.lang.String childContent)
        Parameters:
        base - i.e. parent tag of this tag
        childContent -
        Since:
        1.0.0
    • Method Detail

      • init

        protected void init​()
        invokes only once per object
        Since:
        1.0.0
      • addChildren

        public void addChildren​(java.util.List<AbstractHtml> children)
        adds AbstractHtmls as children.
        Parameters:
        children -
        Since:
        1.0.0
      • addChild

        public void addChild​(AbstractHtml child)
        adds AbstractHtmls as children.
        Parameters:
        child -
        Since:
        1.0.0
      • removeChildren

        public void removeChildren​(java.util.List<AbstractHtml> children)
        adds AbstractHtmls as children.
        Parameters:
        children -
        Since:
        1.0.0
      • removeChild

        public boolean removeChild​(AbstractHtml child)
        adds AbstractHtmls as children.
        Overrides:
        removeChild in class AbstractHtml
        Parameters:
        child -
        Returns:
        true if removed
        Since:
        1.0.0
      • removeChild

        public void removeChild​(java.lang.String child)
        removes the the child content.
        Parameters:
        child -
        Since:
        1.0.0
      • addChild

        public void addChild​(java.lang.String child)
        adds AbstractHtmls as children.
        Parameters:
        child -
        Since:
        1.0.0
      • getChildContent

        public java.lang.String getChildContent​()
        adds AbstractHtmls as children.
        Returns:
        Since:
        1.0.0