Class BaseHrefTag

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, Node, Tag

    public class BaseHrefTag
    extends TagNode
    BaseHrefTag represents an <Base> tag. It extends a basic tag by providing an accessor to the HREF attribute.
    See Also:
    Serialized Form
    • Constructor Detail

      • BaseHrefTag

        public BaseHrefTag()
        Create a new base tag.
    • Method Detail

      • getIds

        public java.lang.String[] getIds()
        Return the set of names handled by this tag.
        Specified by:
        getIds in interface Tag
        Overrides:
        getIds in class TagNode
        Returns:
        The names to be matched that create tags of this type.
      • getBaseUrl

        public java.lang.String getBaseUrl()
        Get the value of the HREF attribute, if any.
        Returns:
        The HREF value, with the leading and trailing whitespace removed, if any.
      • setBaseUrl

        public void setBaseUrl​(java.lang.String base)
        Set the value of the HREF attribute.
        Parameters:
        base - The new HREF value.