Class CustomTag

    • Field Detail

      • LOGGER

        public static final java.util.logging.Logger LOGGER
    • Constructor Detail

      • CustomTag

        public CustomTag​(java.lang.String tagName,
                         AbstractHtml.TagType tagType,
                         AbstractHtml base,
                         AbstractAttribute... attributes)
        Parameters:
        tagName - the tag name
        tagType - the tag type for eg: AbstractHtml.TagType.SELF_CLOSING
        base - i.e. parent tag of this tag
        attributes - An array of AbstractAttribute
        Since:
        1.0.0
      • CustomTag

        public CustomTag​(java.lang.String tagName,
                         AbstractHtml base,
                         AbstractAttribute... attributes)
        Parameters:
        tagName - the tag name
        base - i.e. parent tag of this tag
        attributes - An array of AbstractAttribute
        Since:
        1.0.0
    • Method Detail

      • init

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

        public boolean isSelfClosing​()
        Returns:
        true if it is set as self closing tag otherwise false
        Since:
        1.0.0
      • isNonClosing

        public boolean isNonClosing​()
        Returns:
        true if it is set as non closing tag otherwise false
        Since:
        1.0.0