Class HTMLBaseElement

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, org.htmlunit.corejs.javascript.ConstProperties, org.htmlunit.corejs.javascript.debug.DebuggableObject, org.htmlunit.corejs.javascript.Scriptable, org.htmlunit.corejs.javascript.SymbolScriptable

    public class HTMLBaseElement
    extends HTMLElement
    The JavaScript object HTMLBaseElement.
    See Also:
    Serialized Form
    • Constructor Detail

      • HTMLBaseElement

        public HTMLBaseElement()
        The constructor.
    • Method Detail

      • getHref

        public java.lang.String getHref()
        Returns the value of the href property.
        Returns:
        the value of the href property
      • setHref

        public void setHref​(java.lang.String href)
        Sets the value of the href property.
        Parameters:
        href - the value of the href property
      • getTarget

        public java.lang.String getTarget()
        Returns the value of the target property.
        Returns:
        the value of the target property
      • setTarget

        public void setTarget​(java.lang.String target)
        Sets the value of the target property.
        Parameters:
        target - the value of the target property
      • isEndTagForbidden

        protected boolean isEndTagForbidden()
        Returns whether the end tag is forbidden or not.
        Overrides:
        isEndTagForbidden in class HTMLElement
        Returns:
        whether the end tag is forbidden or not
        See Also:
        HTML 4 specs