Class HTMLBaseElement

All Implemented Interfaces:
Serializable, 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:
  • Constructor Details

    • HTMLBaseElement

      public HTMLBaseElement()
      The constructor.
  • Method Details

    • jsConstructor

      public void jsConstructor()
      JavaScript constructor.
      Overrides:
      jsConstructor in class HTMLElement
    • getHref

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

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

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

      public void setTarget(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: